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

Marnie McCormack resolved QPID-2931.
------------------------------------

    Resolution: Fixed

Review ok, but we'd possibly be better to fix the NPE handling in the affected 
areas. Leaving the message handle seems a little wrong, even if it does get 
scavenged later.

> nulling the MessageReference handle on the Message during QueueEntry disposal 
> can result in NPE
> -----------------------------------------------------------------------------------------------
>
>                 Key: QPID-2931
>                 URL: https://issues.apache.org/jira/browse/QPID-2931
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Critical
>             Fix For: 0.7
>
>
> Nulling the MessageReference handle on the Message during QueueEntry disposal 
> can result in NPE in various places throughout the broker, when attempts from 
> seperate areas of the broker to retrieve details that are held only in the 
> Message overlap the reference update and encounter unexpected NPE's. The 
> reference nulling should be removed until this can be accounted for. (It is 
> no longer as necessary as it once was, thanks to more aggressive QueueEntry 
> scavenging in the QueueEntryList)

-- 
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