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

Rob Godfrey commented on QPID-6513:
-----------------------------------

Apologies that you have run into this bug in the client.  Both this JIRA and 
QPID-6518 which you also raised are clearly race conditions in the closing 
logic for consumers.  

> Null Pointer Exception on connection.close() in @PreDestroy
> -----------------------------------------------------------
>
>                 Key: QPID-6513
>                 URL: https://issues.apache.org/jira/browse/QPID-6513
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.32
>         Environment: WildFly 8.2.0.Final, RabbitMQ 3.5.1
>            Reporter: Nikita Konev
>            Assignee: Rob Godfrey
>         Attachments: OurBean.java, stacktrace.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When i undeploy war, WildFly calls @PreDestroy annotated method. In this i 
> attempt close connection. Sometimes, in 50% of undeploys, not always, caused 
> NPE.



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

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

Reply via email to