ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Joseph Masanz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-363) The smoking pipeline gives a URI is not hierarchical error
Date Mon, 13 Mar 2017 18:07:41 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15916328#comment-15916328
] 

James Joseph Masanz commented on CTAKES-363:
--------------------------------------------

I'll look into this, for searchability for future, pasting the stack track here, when using
3.2.2:
org.apache.uima.resource.ResourceInitializationException: Initialization of CAS Processor
with name "SimulatedProdAggregateTAE" 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:420)
        at org.apache.uima.UIMAFramework.produceCollectionProcessingEngine(UIMAFramework.java:864)
        at org.apache.uima.tools.cpm.CpmPanel.startProcessing(CpmPanel.java:573)
        at org.apache.uima.tools.cpm.CpmPanel.access$000(CpmPanel.java:105)
        at org.apache.uima.tools.cpm.CpmPanel$1.run(CpmPanel.java:713)
Caused by: org.apache.uima.resource.ResourceConfigurationException: Initialization of CAS
Processor with name "SimulatedProdAggregateTAE" 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)
        ... 5 more
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
        at java.io.File.<init>(File.java:418)
        at org.apache.ctakes.core.resource.FileResourceImpl.load(FileResourceImpl.java:44)
        at org.apache.uima.resource.impl.ResourceManager_impl.registerResource(ResourceManager_impl.java:603)
        at org.apache.uima.resource.impl.ResourceManager_impl.initializeExternalResources(ResourceManager_impl.java:442)
        at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:153)
        at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:157)
        at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:123)
        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:269)
        at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387)
        at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:254)
        at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:431)
        at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375)
        at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:185)
        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:269)
        at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:314)
        at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:425)
        at org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor(CPEFactory.java:1088)
        ... 9 more


> The smoking pipeline gives a URI is not hierarchical error
> ----------------------------------------------------------
>
>                 Key: CTAKES-363
>                 URL: https://issues.apache.org/jira/browse/CTAKES-363
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-smoking-status
>    Affects Versions: 3.2.1, 3.2.2
>         Environment: I have version 3.2.2 installed in both on a Windows and a Mac system.
>            Reporter: Harshad
>
> I am trying to use the Smoking Pipeline using the User version (3.2.2).
> The following is the configuration I use:
> Descriptor: ../apache-ctakes-3.1.1/desc/ctakes-
> core/desc/collection_reader/FilesInDirectoryCollectionReader.xml
> Input Directory: an input folder with test data
> Analysis Engines: SimulatedProdSmokingTAE.xml 
> (in the ctakes-smoking-status folder)
> CAS Consumers: FIleWriterCasConsumer.xml
> This worked perfectly in v3.1.1 but now it is giving me an error : 
> 'org.apache.uima.resource.ResourceInitializationException:Initialization 
> of CAS processor with name "SimulatedProdAggregateTAE" failed.
> CausedBy: org.apache.uima.resource.ResourceConfigurationException:Initialization
> of CAS Processor with name "SimulatedProdAggregateTAE" failed.
> CausedBy: java.lang.IllegalArgumentException: URI is not hierarchical'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message