You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/04 09:33:40 UTC

[jira] [Commented] (QPID-7077) [Java Client] NPE reported from failover handling code

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

ASF subversion and git services commented on QPID-7077:
-------------------------------------------------------

Commit 1733565 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1733565 ]

QPID-7077: [Java Client] Remove temporary logging

> [Java Client] NPE reported from failover handling code
> ------------------------------------------------------
>
>                 Key: QPID-7077
>                 URL: https://issues.apache.org/jira/browse/QPID-7077
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: qpid-java-6.1
>            Reporter: Keith Wall
>
> The CI logs for AddressBasedFailoverBehaviour showed a NPE within failover handling code. In this case, the NPE cause the IO thread to abort (it was caught by the uncaught exception handler and log.  A test failure was not reported.
> This problem could only affect a user using the connection failover feature. If this problem were to occur in a user application, I think the affect would be that the application would not auto reconnect.  This could affect the resilience of a user application.
> {noformat}
> AddressBasedFailoverBehaviourTest.testPublishClientAcknowledgedWithFailoverMutex.txt]
> Thread terminated due to uncaught exceptionjava.lang.NullPointerException
> at org.apache.qpid.client.AMQConnectionDelegate_0_10$1.run(AMQConnectionDelegate_0_10.java:353)
> at org.apache.qpid.client.AMQConnection.doWithAllLocks(AMQConnection.java:1865)
> at org.apache.qpid.client.AMQConnection.doWithAllLocks(AMQConnection.java:1853)
> at org.apache.qpid.client.AMQConnection.doWithAllLocks(AMQConnection.java:1853)
> at org.apache.qpid.client.AMQConnection.doWithAllLocks(AMQConnection.java:1832)
> at org.apache.qpid.client.AMQConnectionDelegate_0_10.closed(AMQConnectionDelegate_0_10.java:318)
> at org.apache.qpid.transport.Connection.closed(Connection.java:600)
> at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:115)
> at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:221)
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225)
> at java.lang.Thread.run(Thread.java:781)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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