You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org> on 2010/03/26 16:44:27 UTC

[jira] Created: (UIMA-1751) Fix NPE while looking up MessageProducer

Fix NPE while looking up MessageProducer
----------------------------------------

                 Key: UIMA-1751
                 URL: https://issues.apache.org/jira/browse/UIMA-1751
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
    Affects Versions: 2.3AS
            Reporter: Jerry Cwiklik


ActiveMQMessageSender throws NPE in getMessageProducer() sometimes when the UIMA AS client is stopping. A race condition seems to be the cause. A thread doing a send tries to dereference engine object after the engine was forced to stop.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-1751) Fix NPE while looking up MessageProducer

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-1751.
-------------------------------

    Resolution: Fixed

Modified getMessageProducer() in ActiveMQMessageSender to check the state of the engine before returning the Producer. 

> Fix NPE while looking up MessageProducer
> ----------------------------------------
>
>                 Key: UIMA-1751
>                 URL: https://issues.apache.org/jira/browse/UIMA-1751
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jerry Cwiklik
>
> ActiveMQMessageSender throws NPE in getMessageProducer() sometimes when the UIMA AS client is stopping. A race condition seems to be the cause. A thread doing a send tries to dereference engine object after the engine was forced to stop.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.