You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2007/09/25 15:59:50 UTC
[jira] Updated: (QPID-611) Queue Total size calculations can cause
NPE on broker.
[ https://issues.apache.org/jira/browse/QPID-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aidan Skinner updated QPID-611:
-------------------------------
Attachment: QPID-611.patch
Don't try to get the message size if it's alreayd been delivered to the consumer
> Queue Total size calculations can cause NPE on broker.
> ------------------------------------------------------
>
> Key: QPID-611
> URL: https://issues.apache.org/jira/browse/QPID-611
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M2
> Reporter: Martin Ritchie
> Fix For: M2.1, M3
>
> Attachments: mylyn-context.zip, QPID-611.patch
>
>
> Because messages can be delivered via multiple routes the _totalQueueSize calculations updated by message size which is stored in the messageHandle and is purged when the message is dereferenced.
> The solution is we need to check if the message has been sent before adujsting the values.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.