qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-3880) Test ChannelCloseOkTest#testWithoutExceptionListener occasionally fails
Date Mon, 05 Mar 2012 11:11:56 GMT
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


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


Mime
View raw message