Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 90675 invoked from network); 25 Oct 2007 08:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2007 08:47:09 -0000 Received: (qmail 75387 invoked by uid 500); 25 Oct 2007 08:46:56 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 75354 invoked by uid 500); 25 Oct 2007 08:46:56 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 75344 invoked by uid 99); 25 Oct 2007 08:46:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 01:46:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of twgoetz@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Oct 2007 08:46:59 +0000 Received: (qmail invoked by alias); 25 Oct 2007 08:45:37 -0000 Received: from blueice4n1.de.ibm.com (EHLO [9.152.14.84]) [195.212.29.187] by mail.gmx.net (mp021) with SMTP; 25 Oct 2007 10:45:37 +0200 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX1+1ijN2BCS1Agxbrm3xuDaRSgBEPK642CczKISWGC pBCOcdH2EIH696 Message-ID: <4720582C.8020105@gmx.de> Date: Thu, 25 Oct 2007 10:47:40 +0200 From: Thilo Goetz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Re: Exception in a pipeline with more than one document to analize References: <63e2e4460710240558l7e51f9d2i2f9da03b68a744e6@mail.gmail.com> In-Reply-To: <63e2e4460710240558l7e51f9d2i2f9da03b68a744e6@mail.gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org 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 >