Can you raise a jira issue for this NPE, there should be a check for null in
the doStop method.

On 5 July 2010 07:29, dialsc <dirk.a.schae...@bluewin.ch> wrote:

>
> hello,
>
> i have a network of brokers configured with four nodes where each node
> knows
> the other three nodes through the networkConnector config. two of theses
> four nodes are currently down/unavailable. the other two nodes are working
> for about four hours then they die. in the log file i see a lot of entries
> like this one:
>
> 2010-07-05 00:53:01,741 | ERROR | Could not stop service: tcp://null:0.
> Reason: java.lang.NullPointerException |
> org.apache.activemq.transport.nio.NIOTransport | Simple Discovery Agent:
> java.util.concurrent.threadpoolexecutor$wor...@f782b1
> java.lang.NullPointerException
>        at
>
> org.apache.activemq.transport.nio.NIOTransport.doStop(NIOTransport.java:152)
>        at
> org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:500)
>        at
>
> org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:121)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
>
> org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:91)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
>
> org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
>        at
> org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
>        at
>
> org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:134)
>        at
>
> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:164)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619
>
> and yes, i'm using the nio transport.
> has anyone got an idea?
>
> thx,
> greez,
>
> dialsc
> --
> View this message in context:
> http://old.nabble.com/Network-of-Brokers%3A-Members-die-after-some-hours-tp29073155p29073155.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Reply via email to