activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Closed] (AMQ-4207) NullPointerException in ActiveMQSession.rollback()
Date Wed, 12 Dec 2012 14:21:21 GMT


Timothy Bish closed AMQ-4207.

    Resolution: Won't Fix

This appears to be a case of multi threaded access to a Session which is a single threaded
resource.  If you can produce a test case or provide more details we can investigate but as
it stands I don't see a real issue here. 
> NullPointerException in ActiveMQSession.rollback()
> --------------------------------------------------
>                 Key: AMQ-4207
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.1, 5.6.0, 5.7.0
>            Reporter: Vadim Pesochinskiy
>            Priority: Minor
>             Fix For: 5.x
> Sometimes we get this exception:
> java.lang.NullPointerException
> at org.apache.activemq.ActiveMQSession.rollback(
> at com.barra.cp.common.activemq.MultiQueueReceiver.rollback(
> at com.barra.cp.common.activemq.MultiQueueReceiver.onMessage(
> The synchronized dispose() method nulls the transactionContext and sets closed to true.
In many places in the code, not synchronized code checks closed member variable and later
references transactionContext, which can become null by that time.

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:

View raw message