Keith Wall created QPID-7077:
--------------------------------

             Summary: 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
            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to