activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-2781) NullPointerException during createDurableSubscriber()
Date Wed, 16 Jun 2010 16:39:52 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevan Miller closed AMQ-2781.
-----------------------------


thanks. sorry i didn't notice your updates
...


> NullPointerException during createDurableSubscriber()
> -----------------------------------------------------
>
>                 Key: AMQ-2781
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2781
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.0
>            Reporter: Kevan Miller
>            Assignee: Rob Davies
>             Fix For: 5.4.0
>
>         Attachments: AMQ-2781.patch
>
>
> During testing, ran into the following NullPointerException:
> 06-15-2010 21:06:44:  ERROR: javax.jms.JMSException: java.lang.NullPointerException
> 	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> 	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1286)
> 	at org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1873)
> 	at org.apache.activemq.ActiveMQMessageConsumer.(ActiveMQMessageConsumer.java:249)
> 	at org.apache.activemq.ActiveMQTopicSubscriber.(ActiveMQTopicSubscriber.java:117)
> 	at org.apache.activemq.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:1275)
> 	at org.apache.activemq.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:1220)
> 	at org.apache.activemq.ra.ManagedSessionProxy.createDurableSubscriber(ManagedSessionProxy.java:175)
> 	at org.apache.activemq.ActiveMQTopicSession.createDurableSubscriber(ActiveMQTopicSession.java:147)
>         ...
> Caused by: java.lang.NullPointerException
> 	at org.apache.activemq.broker.region.Topic.deleteSubscription(Topic.java:168)
> 	at org.apache.activemq.broker.region.TopicRegion.addConsumer(TopicRegion.java:86)
> 	at org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:407)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:89)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:89)
> 	at org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:91)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:89)
> 	at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:89)
> 	at org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:95)
> 	at org.apache.activemq.broker.TransportConnection.processAddConsumer(TransportConnection.java:543)
> 	at org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:349)
> 	at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:182)
> 	at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
> 	at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
> 	at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:217)
> 	at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
> 	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219)
> 	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:201)
> 	at java.lang.Thread.run(Thread.java:619)
> Fix seems pretty straightforward.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message