uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Goetz <twgo...@gmx.de>
Subject Re: Exception in a pipeline with more than one document to analize
Date Thu, 25 Oct 2007 08:47:40 GMT
Is this with UIMA 2.2?

Roberto Franchini wrote:
> Hi to all,
> i've got a pipeline, wrapped by a CPM (CMPImpl) and where an annotator
> is a PEAR wich wraps JAPE from the GATE project.
> So the pipeline is:
> -a collection reader
> -a sentence annotator
> -a token annotator
> -a lemma annotator
> - the PEAR jape wrapper
> -some consumers
> 
> If I put in the source dir only one document all is fine. With 2
> documents, or more, i've got this [message continue after  stack
> trace]:
> 
> org.apache.uima.analysis_engine.AnalysisEngineProcessException:
> Annotator processing failed.
>      [java]     at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:383)
>      [java]     at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:291)
>      [java]     at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:217)
>      [java]     at
> org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.processAndOutputNewCASes(PearAnalysisEngineWrapper.java:197)
>      [java]     at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:217)
>      [java]     at
> org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:1221)
>      [java]     at
> org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:668)
>      [java] Caused by: org.apache.uima.cas.CASRuntimeException: The
> JCAS cover class "it.celi.types.Sentence_Type" could not be loaded.
>      [java]     at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:402)
>      [java]     at
> org.apache.uima.jcas.impl.JCasImpl$JCasFsGenerator.createFS(JCasImpl.java:781)
>      [java]     at
> org.apache.uima.cas.impl.CASImpl.ll_getFSForRef(CASImpl.java:2745)
>      [java]     at org.apache.uima.cas.impl.CASImpl.createFS(CASImpl.java:1406)
>      [java]     at
> org.apache.uima.cas.impl.FSIteratorWrapper.get(FSIteratorWrapper.java:60)
>      [java]     at
> org.apache.uima.cas.impl.FSIteratorImplBase.next(FSIteratorImplBase.java:47)
> 
> 
> So, if I put 5 documents, only on 2nd and 4th it happes, and all is
> fine with other three.
> If the jape annotator is'int deployed, all works fine.
> Can you help me?
> Thanks in advance, Roberto
> 

Mime
View raw message