[jboss-jira] [JBoss JIRA] (AS7-4962) NPE in HornetQ RA when MDB is undeployed while delivering messages

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Tue Oct 2 05:54:03 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil reassigned AS7-4962:
--------------------------------

    Assignee: Jeff Mesnil  (was: Andy Taylor)

    
> NPE in HornetQ RA when MDB is undeployed while delivering messages
> ------------------------------------------------------------------
>
>                 Key: AS7-4962
>                 URL: https://issues.jboss.org/browse/AS7-4962
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 7.1.1.Final
>            Reporter: Alexandre Gattiker
>            Assignee: Jeff Mesnil
>         Attachments: mdb-bug.zip
>
>
> 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]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list