You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Tom Kaitchuck (JIRA)" <ji...@apache.org> on 2006/11/25 01:01:02 UTC

[jira] Resolved: (AMQ-1066) Sync error (NullPointerException) in Broker

     [ https://issues.apache.org/activemq/browse/AMQ-1066?page=all ]

Tom Kaitchuck resolved AMQ-1066.
--------------------------------

    Fix Version/s: 4.0.2
       Resolution: Fixed

This was fixed in revision 382353 by rajdavies.

> Sync error (NullPointerException) in Broker
> -------------------------------------------
>
>                 Key: AMQ-1066
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1066
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0
>         Environment: Setup:
> One Broker, multiple client applications which are running 24x7
> Some queues, some topics
>            Reporter: Christian Cavegn
>             Fix For: 4.0.2
>
>
> Hi
> We use ActiveMQ in a productive environment. Yesterday, one of our application wasn't able to connect to the Broker. I found the following exception in the logfile:  (After I restarted the broker, everything was runnig again.)
> -----
> 2006-10-09 12:05:37,986 [.27.81.119:1741] INFO  Service                        - Sync error occurred: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.activemq.util.SubscriptionKey.<init>(SubscriptionKey.java:35)
> 	at org.apache.activemq.broker.jmx.ManagedRegionBroker.registerSubscription(ManagedRegionBroker.java:161)
> 	at org.apache.activemq.broker.jmx.ManagedTopicRegion.createSubscription(ManagedTopicRegion.java:44)
> 	at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:145)
> 	at org.apache.activemq.broker.region.TopicRegion.addConsumer(TopicRegion.java:113)
> 	at org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:296)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
> 	at org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:77)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
> 	at org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:86)
> 	at org.apache.activemq.broker.AbstractConnection.processAddConsumer(AbstractConnection.java:427)
> 	at org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:295)
> 	at org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:201)
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
> 	at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:97)
> 	at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:63)
> 	at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
> 	at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
> 	at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
> 	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:143)
> 	at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira