ActiveMQ
  1. ActiveMQ
  2. AMQ-2043

Async error occurred: java.lang.NullPointerException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3.0
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      ActiveMQ 5.2

      Description

      I got the following error in activemq.log, ActiveMQ's version is 5.2.0. I found that this kind of exception usually occurs during the reconnection

      2008-12-10 21:44:04,485 [.15.2.125:47814] ERROR Service - Async error occurred: java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.activemq.broker.region.TopicSubscription.acknowledge(TopicSubscription.java:221)
      at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373)
      at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:462)
      at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
      at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
      at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
      at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85)
      at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:456)
      at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
      at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        Rob Davies added a comment -

        Fixed by SVN revision 729703

        Show
        Rob Davies added a comment - Fixed by SVN revision 729703

          People

          • Assignee:
            Rob Davies
            Reporter:
            Jingqi Xu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development