Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-775

NPE in HornetQ RA when MDB is undeployed while delivering messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 10.1.0.CR1, 10.1.0.Final
    • None
    • JMS
    • None
    • Hide

      See attachment

      Show
      See attachment

    Description

      In attached simple Arquillian test, the MDB is undeployed while messages are being re-delivered to a failing MDB. During undeployment, following exception is thrown:

      Failed to call onMessage(): java.lang.NullPointerException
      at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:336)
      at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:983) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:48) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1113) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [hornetq-core-2.2.13.Final.jar:]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_31]
      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_31]

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            agattik Alexandre Gattiker (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: