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

Robbie Gemmell commented on QPIDJMS-530:
----------------------------------------

Shouldnt be because you are on windows, there are at least 4 runs on Windows 
amongst the CI runs I mentioned passed. Is it repeatable? If not its perhaps a 
slight non-deterministic variance or just an unexpected pause in the test thats 
caused an unexpected one off failure. FWIW I've just run the test 1000 times 
without issue.

> Potential NPE in JmsSession consumerClosed()
> --------------------------------------------
>
>                 Key: QPIDJMS-530
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-530
>             Project: Qpid JMS
>          Issue Type: Bug
>    Affects Versions: 0.56.0
>            Reporter: David Martin
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: 0.58.0
>
>
> In the following code (JMSSession line 416), if consumer is null this throws 
> a NPE and the consumer never recovers:
> {noformat}
>         JmsMessageConsumer consumer = consumers.get(resource.getId());
>         if (consumer.hasMessageListener()) {
>             connection.onAsyncException(JmsExceptionSupport.create(cause));
>         }
>         try {
>             if (consumer != null) {
>                 consumer.shutdown(cause);
>             }
> {noformat}
> Happy to raise a PR myself for this (just ask) but I have had to fix it 
> locally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to