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 2009/10/23 17:27:03 UTC
[jira] Updated: (UIMA-1630) Fix IndexOutOfBounds exception in
BaseAnalysisEngineController
[ https://issues.apache.org/jira/browse/UIMA-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-1630:
--------------------------------
Description:
There seems to be a synchronization problem in BaseAnalysisEngineController leading to the exception like this:
Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1741)
at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1707)
at org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stop(AggregateAnalysisEngineController_impl.java:2753)
at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:1967)
at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:1940)
at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:313)
at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:390)
... 7 more
The aggregate controller attempts to stop its colocated delegates and fails with IndexOutOfBounds. It looks like one thread is trying to stop, while another is cleaning up a HashMap. Need to synchronize these activities.
was:There seems to be a synchronization problem in BaseAnalysisEngineController leading to the exception. The aggregate controller attempts to stop its colocated delegates and fails with IndexOutOfBounds. It looks like one thread is trying to stop, while another is cleaning up a HashMap. Need to synchronize these activities.
> Fix IndexOutOfBounds exception in BaseAnalysisEngineController
> --------------------------------------------------------------
>
> Key: UIMA-1630
> URL: https://issues.apache.org/jira/browse/UIMA-1630
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.3AS
>
>
> There seems to be a synchronization problem in BaseAnalysisEngineController leading to the exception like this:
> Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1741)
> at org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1707)
> at org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stop(AggregateAnalysisEngineController_impl.java:2753)
> at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:1967)
> at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:1940)
> at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:313)
> at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:390)
> ... 7 more
> The aggregate controller attempts to stop its colocated delegates and fails with IndexOutOfBounds. It looks like one thread is trying to stop, while another is cleaning up a HashMap. Need to synchronize these activities.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.