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/01/06 20:32:54 UTC
[jira] Closed: (UIMA-1718) The UIMA core code fails to unlock a CAS
if there is an exception in CasMultiplier's next() or hasNext() methods
[ https://issues.apache.org/jira/browse/UIMA-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-1718.
-------------------------------
Resolution: Fixed
Assignee: Jerry Cwiklik
> The UIMA core code fails to unlock a CAS if there is an exception in CasMultiplier's next() or hasNext() methods
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-1718
> URL: https://issues.apache.org/jira/browse/UIMA-1718
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.3
>
>
> If there is an exception in user's Cas Multiplier hasNext() or next() method, the framework does not unlock the input CAS. If an application attempts to reset a CAS that failed in above methods, the following is produced: CASAdminException: Can't flush CAS, flushing is disabled.
> Modify AnalysisComponentCasIterator (an inner class of PrimitiveAnalysisEngine_impl) to call
> ((CASImpl)mInputCas).restoreClassLoaderUnlockCas();
> in both hasNext() and next() while handling an exception thrown from user's code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.