qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-716) IllegalArgument Exception when null queue name sent to queue.declare
Date Thu, 03 Jan 2008 14:33:33 GMT

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

Rob Godfrey resolved QPID-716.
------------------------------

    Resolution: Fixed

Committed revision 608497.


> IllegalArgument Exception when null queue name sent to queue.declare
> --------------------------------------------------------------------
>
>                 Key: QPID-716
>                 URL: https://issues.apache.org/jira/browse/QPID-716
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: M2.1
>
>
> When sent a null queue name the handler generates a temprary name, but then does not
pass this to the method which actually creates the queue.
> 2008-01-03 14:10:03,435 ERROR [pool-2-thread-1] state.AMQStateManager (AMQStateManager.java:178)
- State manager received error notification[Current State:CONNECTION_OPEN]: java.lang.IllegalArgumentException:
Queue name must not be null
> java.lang.IllegalArgumentException: Queue name must not be null
>         at org.apache.qpid.server.queue.AMQQueue.<init>(AMQQueue.java:181)
>         at org.apache.qpid.server.queue.AMQQueue.<init>(AMQQueue.java:164)
>         at org.apache.qpid.server.handler.QueueDeclareHandler.createQueue(QueueDeclareHandler.java:169)
>         at org.apache.qpid.server.handler.QueueDeclareHandler.methodReceived(QueueDeclareHandler.java:112)
>         at org.apache.qpid.server.handler.ServerMethodDispatcherImpl.dispatchQueueDeclare(ServerMethodDispatcherImpl.java:504)
>         at org.apache.qpid.framing.amqp_0_9.QueueDeclareBodyImpl.execute(QueueDeclareBodyImpl.java:187)
>         at org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:204)
>         at org.apache.qpid.server.protocol.AMQMinaProtocolSession.methodFrameReceived(AMQMinaProtocolSession.java:305)
>         at org.apache.qpid.server.protocol.AMQMinaProtocolSession.frameReceived(AMQMinaProtocolSession.java:214)
>         at org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived(AMQMinaProtocolSession.java:193)
>         at org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:233)
>         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:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         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