You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org> on 2012/03/05 12:13:57 UTC
[jira] [Updated] (QPID-3880) Test
ChannelCloseOkTest#testWithoutExceptionListener occasionally fails
[ https://issues.apache.org/jira/browse/QPID-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3880:
-----------------------------
Attachment: TEST-org.apache.qpid.test.unit.client.channelclose.ChannelCloseOkTest.testWithoutExceptionListener[1].out
Attached a file with failed test logs
> Test ChannelCloseOkTest#testWithoutExceptionListener occasionally fails
> -----------------------------------------------------------------------
>
> Key: QPID-3880
> URL: https://issues.apache.org/jira/browse/QPID-3880
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Tests
> Affects Versions: 0.15
> Reporter: Alex Rudyy
> Attachments: TEST-org.apache.qpid.test.unit.client.channelclose.ChannelCloseOkTest.testWithoutExceptionListener[1].out
>
>
> Test ChannelCloseOkTest#testWithoutExceptionListener occasionally fails with the following error message and stack traces
> Error Message
> Error closing session: org.apache.qpid.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout]Stacktrace
> {noformat}
> javax.jms.JMSException: Error closing session: org.apache.qpid.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout]
> at org.apache.qpid.client.AMQSession.close(AMQSession.java:757)
> at org.apache.qpid.client.AMQSession.close(AMQSession.java:719)
> at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:949)
> at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:843)
> at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:832)
> at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:832)
> at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:816)
> at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:807)
> at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:802)
> at org.apache.qpid.test.unit.client.channelclose.ChannelCloseOkTest.closeConnection(ChannelCloseOkTest.java:130)
> at org.apache.qpid.test.unit.client.channelclose.ChannelCloseOkTest.tearDown(ChannelCloseOkTest.java:121)
> at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)
> Caused by: org.apache.qpid.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout]
> at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:178)
> at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:122)
> at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:655)
> at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:676)
> at org.apache.qpid.client.AMQSession_0_8.sendClose(AMQSession_0_8.java:152)
> at org.apache.qpid.client.AMQSession.close(AMQSession.java:751)
> {noformat}
> This test failure revield a race condition happened on broker shutdown whilst receiving messages which caused a NullPointerException
> {noformat}
> IoReceiver - localhost/127.0.0.1:15672 2012-03-03 01:06:00,147 ERROR [qpid.client.protocol.AMQProtocolHandler] Exception processing frame
> java.lang.NullPointerException
> at org.apache.qpid.client.protocol.AMQProtocolSession.deliverMessageToAMQSession(AMQProtocolSession.java:277)
> at org.apache.qpid.client.protocol.AMQProtocolSession.contentBodyReceived(AMQProtocolSession.java:259)
> at org.apache.qpid.framing.ContentBody.handle(ContentBody.java:72)
> at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:436)
> at org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:121)
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:152)
> at java.lang.Thread.run(Thread.java:619)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org