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

Martin Ritchie updated QPID-1950:
---------------------------------

    Attachment: MessageDisappearWithIOExceptionTest.java

This is a modified version of the test case on QPID-1949 which will on occasion 
highlight the NPE.

> During failover clients can cause NPE to occur on the broker.
> -------------------------------------------------------------
>
>                 Key: QPID-1950
>                 URL: https://issues.apache.org/jira/browse/QPID-1950
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>    Affects Versions: M4, 0.5
>            Reporter: Martin Ritchie
>         Attachments: MessageDisappearWithIOExceptionTest.java, QPID-1950.log
>
>
> Summary:
> During failover NPEs have been seen from the ChannelOpenHandler as the 
> virtualHost has not yet been set on the session. 
> The Java client should not be able to cause this sort of problem.
> This was discovered whilst testing another issue wifh failover.  QPID-1949
> The race condition can be seen by editing the test case (as attached) so that 
> it attempts to continue to use the connection after failover.
> The attached log shows one instance where the NPE occured.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to