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 2010/08/06 19:29:16 UTC

[jira] Created: (UIMA-1850) UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout

UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout
------------------------------------------------------------------------------------

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


The ProcessErrorHandler drops a CAS that arrives from a delegate late (after a timeout) without first checking if the CAS has any children. This leads to NPE exception(s) and possible hangs. The code should first check if the CAS has any children being processed and if so, leave the CAS in play. The parent CAS will eventually be dropped when its last child is processed. 

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


[jira] Closed: (UIMA-1850) UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout

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

Jerry Cwiklik closed UIMA-1850.
-------------------------------

    Resolution: Fixed

Modified ProcessCasErrrorHandler.handleError() method to stop if from dropping CASes that have children. 

> UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout
> ------------------------------------------------------------------------------------
>
>                 Key: UIMA-1850
>                 URL: https://issues.apache.org/jira/browse/UIMA-1850
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>
> The ProcessErrorHandler drops a CAS that arrives from a delegate late (after a timeout) without first checking if the CAS has any children. This leads to NPE exception(s) and possible hangs. The code should first check if the CAS has any children being processed and if so, leave the CAS in play. The parent CAS will eventually be dropped when its last child is processed. 

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


[jira] Updated: (UIMA-1850) UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-1850:
---------------------------------

    Fix Version/s: 2.3.1AS

> UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout
> ------------------------------------------------------------------------------------
>
>                 Key: UIMA-1850
>                 URL: https://issues.apache.org/jira/browse/UIMA-1850
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.3.1AS
>
>
> The ProcessErrorHandler drops a CAS that arrives from a delegate late (after a timeout) without first checking if the CAS has any children. This leads to NPE exception(s) and possible hangs. The code should first check if the CAS has any children being processed and if so, leave the CAS in play. The parent CAS will eventually be dropped when its last child is processed. 

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