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

Jeff Mesnil (JIRA) issues at jboss.org
Tue Apr 19 09:31:00 EDT 2016


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

Jeff Mesnil resolved WFLY-775.
------------------------------
    Fix Version/s: 10.1.0.Final
       Resolution: Cannot Reproduce Bug


> NPE in HornetQ RA when MDB is undeployed while delivering messages
> ------------------------------------------------------------------
>
>                 Key: WFLY-775
>                 URL: https://issues.jboss.org/browse/WFLY-775
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Alexandre Gattiker
>            Assignee: Jeff Mesnil
>             Fix For: 10.1.0.Final
>
>         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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list