qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marnie McCormack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (QPID-2931) nulling the MessageReference handle on the Message during QueueEntry disposal can result in NPE
Date Thu, 02 Dec 2010 11:58:11 GMT

     [ 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-subscribe@qpid.apache.org


Mime
View raw message