You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/12/11 17:27:18 UTC
[jira] Updated: (QPID-2263) Housekeeping thread can throw NPE and
stop running.
[ https://issues.apache.org/jira/browse/QPID-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-2263:
---------------------------------
Status: Ready To Review (was: In Progress)
> Housekeeping thread can throw NPE and stop running.
> ---------------------------------------------------
>
> Key: QPID-2263
> URL: https://issues.apache.org/jira/browse/QPID-2263
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M3, M4, 0.5
> Reporter: Martin Ritchie
> Assignee: Martin Ritchie
> Fix For: 0.6
>
>
> The following NPE stack trace has been observed on the housekeeping thread:
> Exception in thread "Queue-housekeeping-dev" java.lang.NullPointerException
> at org.apache.qpid.server.queue.WeakReferenceMessageHandle.populateFromMessageMetaData(WeakReferenceMessageHandle.java:85)
> at org.apache.qpid.server.queue.WeakReferenceMessageHandle.loadMessageMetaData(WeakReferenceMessageHandle.java:79)
> at org.apache.qpid.server.queue.WeakReferenceMessageHandle.getContentHeaderBody(WeakReferenceMessageHandle.java:64)
> at org.apache.qpid.server.queue.AMQMessage.getContentHeaderBody(AMQMessage.java:273)
> at org.apache.qpid.server.queue.NotificationCheck$2.notifyIfNecessary(NotificationCheck.java:53)
> at org.apache.qpid.server.queue.AMQQueueMBean.checkForNotification(AMQQueueMBean.java:263)
> at org.apache.qpid.server.queue.SimpleAMQQueue.checkMessageStatus(SimpleAMQQueue.java:1627)
> at org.apache.qpid.server.virtualhost.VirtualHost$1RemoveExpiredMessagesTask.run(VirtualHost.java:268)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Preventing the HK thread from working on deleted messages will ensure that this situation does not occur.
--
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