qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-3880) Test ChannelCloseOkTest#testWithoutExceptionListener occasionally fails
Date Fri, 18 Jul 2014 23:28:39 GMT

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

Keith Wall resolved QPID-3880.
------------------------------

    Resolution: Won't Fix

This test was removed by QPID-4525.

> 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 was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message