[ 
https://issues.apache.org/jira/browse/QPID-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639136#action_12639136
 ] 

Rafael H. Schloming commented on QPID-1352:
-------------------------------------------

AMQConnection.java:935 is this:

                    catch (AMQException e)
                    {
                        JMSException jmse = new JMSException("Error closing 
connection: " + e); <-------------
                        jmse.setLinkedException(e);
                        throw jmse;
                    }

Unfortunately the JMSException seems to swallow the original stack trace of the 
linked exception. I've committed a change to log the original error. I can't 
reproduce this on my system, so hopefully the next time it shows up we have a 
bit more info.

> TopicPublisherCloseTest failed
> ------------------------------
>
>                 Key: QPID-1352
>                 URL: https://issues.apache.org/jira/browse/QPID-1352
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Rafael H. Schloming
>             Fix For: M4
>
>         Attachments: 
> TEST-org.apache.qpid.test.unit.close.TopicPublisherCloseTest.testAllMethodsThrowAfterConnectionClose.out
>
>
> Error closing connection: org.apache.qpid.AMQException: 
> javax.jms.JMSException: Error closing connection: 
> org.apache.qpid.AMQException: 
>       at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:935)
>       at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:887)
>       at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:874)
>       at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:867)
>       at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:862)
>       at 
> org.apache.qpid.test.unit.close.TopicPublisherCloseTest.testAllMethodsThrowAfterConnectionClose(TopicPublisherCloseTest.java:58)
>       at 
> org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:186)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to