ActiveMQ
  1. ActiveMQ
  2. AMQ-2185

Embedded broker restart, durable topics vmindex - null pointer exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.x
    • Component/s: Message Store
    • Labels:
      None

      Description

      see: http://www.nabble.com/Embedded-broker-hangs-after-restart-td22718163.html

      stack trace:

      org.apache.activemq.ActiveMQConnection  - Async exception with no exception
      listener: java.lang.NullPointerException
      java.lang.NullPointerException
              at
      org.apache.activemq.kaha.impl.index.VMIndexLinkedList.remove(VMIndexLinkedList.java:265)
              at
      org.apache.activemq.kaha.impl.container.ListContainerImpl.remove(ListContainerImpl.java:314)
              at
      org.apache.activemq.kaha.impl.container.ListContainerImpl.remove(ListContainerImpl.java:695)
              at
      org.apache.activemq.store.kahadaptor.KahaTopicReferenceStore.acknowledgeReference(KahaTopicReferenceStore.java:148)
              at
      org.apache.activemq.store.amq.AMQTopicMessageStore.acknowledge(AMQTopicMessageStore.java:163)
              at
      org.apache.activemq.store.amq.AMQTopicMessageStore.acknowledge(AMQTopicMessageStore.java:91)
              at
      org.apache.activemq.broker.region.Topic.acknowledge(Topic.java:447)
              at
      org.apache.activemq.broker.region.DurableTopicSubscription.acknowledge(DurableTopicSubscription.java:223)
              at
      org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:238)
              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 
      

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1223d 16h 53m 1 Timothy Bish 01/Aug/12 16:50
        Timothy Bish made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Timothy Bish added a comment -

        Test works without issue if using the recommended KahaDB persistence adapter.

        Show
        Timothy Bish added a comment - Test works without issue if using the recommended KahaDB persistence adapter.
        Gary Tully made changes -
        Fix Version/s 5.6.0 [ 12316331 ]
        Fix Version/s 5.5.0 [ 12315626 ]
        Dejan Bosanac made changes -
        Fix Version/s 5.5.0 [ 12315626 ]
        Fix Version/s 5.4.2 [ 12315625 ]
        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Bruce Snyder made changes -
        Fix Version/s 5.4.1 [ 12332 ]
        Fix Version/s 5.5.0 [ 12344 ]
        Hadrian Zbarcea made changes -
        Fix Version/s 5.4.1 [ 12332 ]
        Fix Version/s 5.4.0 [ 12110 ]
        Gary Tully made changes -
        Fix Version/s 5.3.0 [ 11914 ]
        Fix Version/s 5.4.0 [ 12110 ]
        Jaroslaw Palka made changes -
        Field Original Value New Value
        Attachment ActiveMQJMSConnectorTest.java [ 17843 ]
        Hide
        Jaroslaw Palka added a comment -

        NullPointer in VMIndex

        Show
        Jaroslaw Palka added a comment - NullPointer in VMIndex
        Gary Tully created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Gary Tully
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development