You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/10 09:20:00 UTC

[jira] [Commented] (QPID-7956) [Java Broker] Memory compactor threw NPE during Broker shutdown

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

ASF subversion and git services commented on QPID-7956:
-------------------------------------------------------

Commit 4ff194a7b3e331bba1ea1e850a8d4a70859ad0e9 in qpid-broker-j's branch refs/heads/master from [~lorenz.quack]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=4ff194a ]

QPID-7956: [Java Broker] Guard against the possibility of a null housekeeper executer when reallocating messages


> [Java Broker] Memory compactor threw NPE during Broker shutdown
> ---------------------------------------------------------------
>
>                 Key: QPID-7956
>                 URL: https://issues.apache.org/jira/browse/QPID-7956
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-broker-7.0.0
>            Reporter: Keith Wall
>             Fix For: qpid-java-broker-7.0.0
>
>
> The following exception was received during shutdown of the Broker (^C from the terminal).   There was a significant queue depth enqueued at the time.
> {noformat}
> 2017-10-04 04:49:54,848 ERROR [broker-Broker-pool-0] (o.a.q.s.u.HousekeepingExecutor) - Housekeeping task threw an exception:
> java.lang.NullPointerException: null
>         at org.apache.qpid.server.virtualhost.AbstractVirtualHost.reallocateMessages(AbstractVirtualHost.java:1390)
>         at org.apache.qpid.server.model.BrokerImpl.compactMemoryInternal(BrokerImpl.java:1245)
>         at org.apache.qpid.server.model.BrokerImpl.checkDirectMemoryUsage(BrokerImpl.java:447)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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