You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Justin Pitts (JIRA)" <ji...@apache.org> on 2009/04/08 05:17:37 UTC
[jira] Updated: (AMQ-2199) NullPointerException during broker start
on brokerid
[ https://issues.apache.org/activemq/browse/AMQ-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Pitts updated AMQ-2199:
------------------------------
Summary: NullPointerException during broker start on brokerid (was: Race condition during broker start on brokerid)
> NullPointerException during broker start on brokerid
> -----------------------------------------------------
>
> Key: AMQ-2199
> URL: https://issues.apache.org/activemq/browse/AMQ-2199
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0, 5.2.0
> Environment: Debian 5 x86 / vmware esx
> Reporter: Justin Pitts
>
> I have a configuration where I first start application A with an embedded broker that is not initiating any broker-to-broker connections.
> Then, in rapid succession, I start applications B, C, and D, all with embedded brokers that are initiating broker-to-broker connections only to A. Often, this is all on the same machine.
> I commonly - but not always - see the following: (this stack trace is 5.1. I have seen this issue on 5.2 also)
> java.lang.NullPointerException
> at org.apache.activemq.network.DemandForwardingBridgeSupport.contains(DemandForwardingBridgeSupport.java:748)
> at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceRemoteConsumerAdvisory(DemandForwardingBridgeSupport.java:471)
> at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceRemoteCommand(DemandForwardingBridgeSupport.java:416)
> at org.apache.activemq.network.DemandForwardingBridgeSupport$2.onCommand(DemandForwardingBridgeSupport.java:154)
> at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
> 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:196)
> at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
> at java.lang.Thread.run(Thread.java:619)
> The brokerId field is null. I don't see where localBrokerPath[0] is ever set to anything but null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.