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)" <de...@uima.apache.org> on 2013/02/13 22:18:12 UTC

[jira] [Closed] (UIMA-2668) Fix NullPointerException in UIMA-AS aggregate

     [ https://issues.apache.org/jira/browse/UIMA-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-2668.
-------------------------------

    Resolution: Fixed

Changed CAS accounting to prevent NPE. A child CAS produced in an inner CM aggregate was assigned a wrong parent before being sent to a collocated client. As a consequence, the uima-as decremented the number of active child CASes on a wrong CAS. This in turn, allowed for such CAS to be returned to a client prematurely with child CASes still in play.
                
> Fix NullPointerException in UIMA-AS aggregate 
> ----------------------------------------------
>
>                 Key: UIMA-2668
>                 URL: https://issues.apache.org/jira/browse/UIMA-2668
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.4.0AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.4.1AS
>
>
> When running a complex uima-as aggregate with inner async aggregates with CMs the uima-as throws NPE. This is due to a bug in an internal CAS accounting which determines when a CAS can be returned back to a client.  

--
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