Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3903

Failed to fire fast producer advisory, reason: java.lang.NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker
    • Labels:
      None

      Description

      When sending a lot of Messages to Queue via Webconsole and advisdoryForFastProducers="true" (so the advisory triggers)
      a exception occurs:

      jvm 1 | WARN | Failed to fire fast producer advisory, reason: java.lang.NullPointerException

      2012-07-12 11:40:48,623 | DEBUG | fast producer detail | org.apache.activemq.advisory.AdvisoryBroker | VMTransport: vm://localhost#1
      java.lang.NullPointerException
      at org.apache.activemq.advisory.AdvisorySupport.getFastProducerAdvisoryTopic(AdvisorySupport.java:195)
      at org.apache.activemq.advisory.AdvisoryBroker.fastProducer(AdvisoryBroker.java:352)
      at org.apache.activemq.broker.BrokerFilter.fastProducer(BrokerFilter.java:275)
      at org.apache.activemq.broker.BrokerFilter.fastProducer(BrokerFilter.java:275)
      at org.apache.activemq.broker.MutableBrokerFilter.fastProducer(MutableBrokerFilter.java:286)
      at org.apache.activemq.broker.region.BaseDestination.fastProducer(BaseDestination.java:512)
      at org.apache.activemq.broker.region.Queue.send(Queue.java:605)
      at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:407)
      at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:503)
      at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:305)
      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129)
      at org.apache.activemq.broker.scheduler.SchedulerBroker.send(SchedulerBroker.java:189)
      at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129)
      at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96)
      at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:306)
      at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
      at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:453)
      at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:681)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:150)
      at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
      at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:231)
      at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
      at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              faehne Holger Faehnrich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: