activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: NullPointer on shutdown
Date Fri, 04 Jan 2013 18:09:55 GMT
What events lead up to the exception? Looks like a discovery agent was
attempted to be shutdown but was never started properly. This sort of thing
should not happen.


On Fri, Jan 4, 2013 at 10:56 AM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> 5.7
>
> On Fri, Jan 4, 2013 at 9:49 AM, Christian Posta
> <christian.posta@gmail.com>wrote:
>
> > What version are you on?
> >
> >
> > On Fri, Jan 4, 2013 at 10:14 AM, Mohit Anchlia <mohitanchlia@gmail.com
> > >wrote:
> >
> > > On shutdown I get Nullpointer exception, could someone help me
> understand
> > > why that might be?
> > >
> > >   DiscoveryNetworkConnector:NC:BrokerService[pprfdaa300.id.net].
> Reason:
> > > java.lang.NullPointerException |
> > > org.apache.activemq.network.DiscoveryNetworkConnector | ActiveMQ
> > > ShutdownHook
> > > java.lang.NullPointerException
> > >         at
> > >
> > >
> >
> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent.stop(SimpleDiscoveryAgent.java:88)
> > >         at
> > >
> > >
> >
> org.apache.activemq.network.DiscoveryNetworkConnector.handleStop(DiscoveryNetworkConnector.java:220)
> > >         at
> > >
> > >
> >
> org.apache.activemq.network.NetworkConnector$1.doStop(NetworkConnector.java:65)
> > >         at
> > > org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:71)
> > >         at
> > >
> > >
> >
> org.apache.activemq.network.NetworkConnector.stop(NetworkConnector.java:206)
> > >
> >
> >
> >
> > --
> > *Christian Posta*
> > http://www.christianposta.com/blog
> > twitter: @christianposta
> >
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message