You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2008/10/16 16:05:46 UTC
[jira] Updated: (QPID-753) Broker NPEs when a 'null' virtualhost is
sent in the ConnectionOpenBody.
[ https://issues.apache.org/jira/browse/QPID-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marnie McCormack updated QPID-753:
----------------------------------
Component/s: Starter
Priority: Minor (was: Major)
> Broker NPEs when a 'null' virtualhost is sent in the ConnectionOpenBody.
> ------------------------------------------------------------------------
>
> Key: QPID-753
> URL: https://issues.apache.org/jira/browse/QPID-753
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Starter
> Affects Versions: M2, M2.1
> Reporter: Martin Ritchie
> Priority: Minor
> Fix For: M4
>
>
> If a virtualhost is not provided to in the ConnectionOpenBody then the resulting 'null' lookup will cause an NPE on the Java Broker.
> 2008-01-08 18:28:01,426 DEBUG [pool-1-thread-1] protocol.AMQMinaProtocolSession (AMQMinaProtocolSession.java:207) - Frame Received: Frame channelId: 0, bodyg.apache.qpid.framing.ConnectionOpenBody[ Class: 10 Method: 40] virtualHost: null capabilities: null insist: true
> 2008-01-08 18:28:01,427 ERROR [pool-1-thread-1] state.AMQStateManager (AMQStateManager.java:208) - State manager received error notification[Current State:C_NOT_OPENED]: java.lang.NullPointerException
> java.lang.NullPointerException
> at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:765)
> at org.apache.qpid.server.virtualhost.VirtualHostRegistry.getVirtualHost(VirtualHostRegistry.java:52)
> at org.apache.qpid.server.handler.ConnectionOpenMethodHandler.methodReceived(ConnectionOpenMethodHandler.java:75)
> at org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:223)
> at org.apache.qpid.server.protocol.AMQMinaProtocolSession.methodFrameReceived(AMQMinaProtocolSession.java:303)
> at org.apache.qpid.server.protocol.AMQMinaProtocolSession.frameReceived(AMQMinaProtocolSession.java:212)
> at org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived(AMQMinaProtocolSession.java:191)
> at org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:206)
> at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
> at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
> at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
> at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
> at org.apache.qpid.pool.PoolingFilter.messageReceived(PoolingFilter.java:317)
> at org.apache.mina.filter.ReferenceCountingIoFilter.messageReceived(ReferenceCountingIoFilter.java:96)
> at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
> at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
> at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
> at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
> at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
> at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
> at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
> at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:777)
> at org.apache.qpid.pool.Event$ReceivedEvent.process(Event.java:86)
> at org.apache.qpid.pool.Job.processAll(Job.java:109)
> at org.apache.qpid.pool.Job.run(Job.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 2008-01-08 18:28:01,430 INFO [pool-1-thread-1] protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java:135) - Protocol Session closed for:/127.0.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.