uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject UIMA AS AnalysisEngineProcessException: CasManager.release(CAS) was called with a CAS that does not belong to this CasManager.
Date Wed, 05 Aug 2009 09:17:19 GMT
Hi,

I got this after UIMA AS started and the deployed analysis engines 
processed 3 CASes,
it then continued to run normally without any errors.

Here is the statck trace:

org.apache.uima.analysis_engine.AnalysisEngineProcessException: 
CasManager.release(CAS) was called with a CAS that does not belong to 
this CasManager.
        at 
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:699)
        at 
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:407)
        at 
org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:340)
        at 
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
        at 
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.process(PrimitiveAnalysisEngineController_impl.java:391)
        at 
org.apache.uima.aae.handler.HandlerBase.invokeProcess(HandlerBase.java:130)
        at 
org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handleProcessRequestFromRemoteClient(ProcessRequestHandler_impl.java:479)
        at 
org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handle(ProcessRequestHandler_impl.java:948)
        at 
org.apache.uima.aae.handler.input.MetadataRequestHandler_impl.handle(MetadataRequestHandler_impl.java:84)
        at 
org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage(JmsInputChannel.java:669)
        at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:485)
        at 
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:442)
        at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:414)
        at 
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:309)
        at 
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:254)
        at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871)
        at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:818)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at 
org.apache.uima.aae.UimaAsThreadFactory$1.run(UimaAsThreadFactory.java:72)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.uima.UIMARuntimeException: CasManager.release(CAS) 
was called with a CAS that does not belong to this CasManager.
        at 
org.apache.uima.resource.impl.CasManager_impl.releaseCas(CasManager_impl.java:131)
        at 
org.apache.uima.cas.AbstractCas_ImplBase.release(AbstractCas_ImplBase.java:35)
        at org.apache.uima.cas.impl.CASImpl.release(CASImpl.java:3568)
        at org.apache.uima.cas.impl.CASImpl.release(CASImpl.java:3566)
        at 
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:687)
        ... 20 more

Jörn

Mime
View raw message