uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Franchini" <ro.franch...@gmail.com>
Subject Re: Exception in a pipeline with more than one document to analize
Date Tue, 06 Nov 2007 13:07:30 GMT
On 11/5/07, Roberto Franchini <ro.franchini@gmail.com> wrote:
> On 11/1/07, Marshall Schor <msa@schor.com> wrote:
> > Roberto Franchini wrote:
> > > On 10/30/07, Marshall Schor <msa@schor.com> wrote:
> > >
> [cut]
> > >
> > Jira issue 607 fixes this problem, I think.  If you can, please build
> > from the latest SVN and see if this fixes things.
> >
> > I created a test case before fixing things, and got it to fail, and now,
> > after the changes, it runs.
> >
>
> Ok, I'll update and rebuild today or at least tomorrow. Thank you very
> much for your effort!
> Roberto
>

The test doesn't run on my linux machine (elcipse 3.3.1, SUN java 6):
I think ther's only a miswrited path, but I didn't find it :(


org.apache.uima.resource.ResourceInitializationException:
Initialization of CAS Processor with name "ErrorTestAnnotator" failed.
	at org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(CollectionProcessingEngine_impl.java:83)
	at org.apache.uima.impl.UIMAFramework_impl._produceCollectionProcessingEngine(UIMAFramework_impl.java:395)
	at org.apache.uima.UIMAFramework.produceCollectionProcessingEngine(UIMAFramework.java:865)
	at org.apache.uima.collection.impl.cpm.PearCasPoolTest.setupCpm(PearCasPoolTest.java:166)
	at org.apache.uima.collection.impl.cpm.PearCasPoolTest.core(PearCasPoolTest.java:91)
	at org.apache.uima.collection.impl.cpm.PearCasPoolTest.testCasPool(PearCasPoolTest.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.uima.resource.ResourceConfigurationException:
Initialization of CAS Processor with name "ErrorTestAnnotator" failed.
	at org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor(CPEFactory.java:1104)
	at org.apache.uima.collection.impl.cpm.container.CPEFactory.getCasProcessors(CPEFactory.java:550)
	at org.apache.uima.collection.impl.cpm.BaseCPMImpl.init(BaseCPMImpl.java:253)
	at org.apache.uima.collection.impl.cpm.BaseCPMImpl.<init>(BaseCPMImpl.java:127)
	at org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(CollectionProcessingEngine_impl.java:75)
	... 23 more
Caused by: org.apache.uima.resource.ResourceInitializationException:
Error initializing
"org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper" from
descriptor file:/home/frank/projects/celi/uima/uimaj-cpe/target/test-classes/pearTests/installedSimpleTokenPear/uimaj-pear-forTesting/uimaj-pear-forTesting_pear.xml.
	at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
	at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
	at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
	at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:352)
	at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:243)
	at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:413)
	at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:361)
	at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:183)
	at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
	at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
	at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
	at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
	at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
	at org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor(CPEFactory.java:1088)
	... 27 more
Caused by: org.apache.uima.resource.ResourceInitializationException
	at org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.initialize(PearAnalysisEngineWrapper.java:217)
	at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
	... 40 more
Caused by: java.io.FileNotFoundException: invalid directory specified
	at org.apache.uima.pear.util.FileUtil.createFileList(FileUtil.java:583)
	at org.apache.uima.pear.tools.PackageBrowser.<init>(PackageBrowser.java:124)
	at org.apache.uima.analysis_engine.impl.PearAnalysisEngineWrapper.initialize(PearAnalysisEngineWrapper.java:154)
	... 41 more

-- 
Roberto Franchini
CELI s.r.l.  (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY
Tel +39-011-6600814 - Fax +39-011-6600687
jabber:ro.franchini@gmail.com skype:ro.franchini

Mime
View raw message