Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7956

[Java Broker] Memory compactor threw NPE during Broker shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      The following exception was received during shutdown of the Broker (^C from the terminal). There was a significant queue depth enqueued at the time.

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: