activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1808) java.lang.NullPointerException with jmx and durable topc subscription removal
Date Wed, 18 Jun 2008 12:27:00 GMT

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

Gary Tully updated AMQ-1808:
----------------------------

    Attachment: AMQ-1808.patch

sub can be null so check.
re enabled test case that shows the problem.

> java.lang.NullPointerException with jmx and durable topc subscription removal
> -----------------------------------------------------------------------------
>
>                 Key: AMQ-1808
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1808
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>            Reporter: Gary Tully
>            Priority: Minor
>         Attachments: AMQ-1808.patch
>
>
> ERROR ManagedRegionBroker            - Failed to register subscription SubscriptionInfo
{subscribedDestination = null, destination = topic:/
> /HQ_ProductFamilyT71, clientId = lando_VM7_SPAgent3_0, subscriptionName = SP_CallForOffersEH_3_EHID_1PF34,
selector = null}
> java.lang.NullPointerException
>         at org.apache.activemq.broker.jmx.DurableSubscriptionView.<init>(DurableSubscriptionView.java:47)
>         at org.apache.activemq.broker.jmx.InactiveDurableSubscriptionView.<init>(InactiveDurableSubscriptionView.java:42)
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.addInactiveSubscription(ManagedRegionBroker.java:361)
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.unregisterSubscription(ManagedRegionBroker.java:325)
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.unregisterSubscription(ManagedRegionBroker.java:217)
>         at org.apache.activemq.broker.jmx.ManagedTopicRegion.destroySubscription(ManagedTopicRegion.java:51)
>         at org.apache.activemq.broker.region.AbstractRegion.removeConsumer(AbstractRegion.java:327)
>         at org.apache.activemq.broker.region.TopicRegion.removeSubscription(TopicRegion.java:143)
>         at org.apache.activemq.broker.region.RegionBroker.removeSubscription(RegionBroker.java:409)
>         at org.apache.activemq.broker.BrokerFilter.removeSubscription(BrokerFilter.java:98)
>         at org.apache.activemq.broker.BrokerFilter.removeSubscription(BrokerFilter.java:98)
>         at org.apache.activemq.broker.BrokerFilter.removeSubscription(BrokerFilter.java:98)
>         at org.apache.activemq.broker.MutableBrokerFilter.removeSubscription(MutableBrokerFilter.java:105)
>         at org.apache.activemq.broker.TransportConnection.processRemoveSubscription(TransportConnection.java:326)
>         at org.apache.activemq.command.RemoveSubscriptionInfo.visit(RemoveSubscriptionInfo.java:83)
>         at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
>         at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>         at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
>         at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
>         at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
>         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:197)
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:184)
>         at java.lang.Thread.run(Thread.java:595)

-- 
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