You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2008/02/11 18:10:10 UTC

[jira] Commented: (UIMA-680) CAS is not unlocked on Errors

    [ https://issues.apache.org/jira/browse/UIMA-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567710#action_12567710 ] 

Thilo Goetz commented on UIMA-680:
----------------------------------

Marshall, can you look at this?  Let me know if you don't have the time, and I'll see what I can do.  Thanks.

> CAS is not unlocked on Errors
> -----------------------------
>
>                 Key: UIMA-680
>                 URL: https://issues.apache.org/jira/browse/UIMA-680
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.1
>            Reporter: Thilo Goetz
>            Assignee: Marshall Schor
>            Priority: Critical
>             Fix For: 2.3
>
>
> If, e.g., an OOME is thrown inside a primitive AE, the CAS is not unlocked and can't be reused.  This is an issue when the application is trying to recover from the OOME.  The call to restoreClassLoaderUnlockCas() in PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess() either needs to be moved to the finally clause, or the CAS needs to be unlocked separately there.  Looks like this is a bug introduced with the class loading changes for 2.1.
> Reproduce by provoking an OOME in CVD (start with little memory, use large document etc).  CVD will catch OOM.  Now try to rerun AE, will fail because CAS is locked.

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