[jboss-jira] [JBoss JIRA] (AS7-4962) NPE in HornetQ RA when MDB is undeployed while delivering messages
Alexandre Gattiker (JIRA)
jira-events at lists.jboss.org
Fri Jun 8 03:20:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700053#comment-12700053 ]
Alexandre Gattiker commented on AS7-4962:
-----------------------------------------
Thank you Clebert, I've updated the bug description accordingly. The RuntimeException allows to detect the issue though, because re-deliveries create a delay that causes the Arquillian test in the project attached to undeploy the MDB while re-deliveries are still in progress.
> 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: Andy Taylor
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list