uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lally (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Assigned: (UIMA-24) Uninformative error message when trying to create an AE from a descriptor whose frameworkImplementation is incorrect
Date Fri, 01 Dec 2006 20:25:25 GMT
     [ http://issues.apache.org/jira/browse/UIMA-24?page=all ]

Adam Lally reassigned UIMA-24:
------------------------------

    Assignee: Adam Lally

> Uninformative error message when trying to create an AE from a descriptor whose frameworkImplementation
is incorrect
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-24
>                 URL: http://issues.apache.org/jira/browse/UIMA-24
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Adam Lally
>         Assigned To: Adam Lally
>            Priority: Minor
>
> I ran startVinciService with a deployment descriptor that pointed at an "old" UIMA descriptor
whose <frameworkImplementation> was set to com.ibm.uima.java.  The error message was
uninformative:
> org.apache.uima.resource.ResourceInitializationException: The Resource Factory does not
know how to create a resource of class org.apache.uima.analysis_engine.AnalysisEngine from
the given ResourceSpecifier. (Descriptor: file:/C:/Program Files/IBM/uima/docs/examples/descriptors/analysis_engine/PersonTitleAnnotator.xml)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:264)
>         at org.apache.uima.internal.util.ResourcePool.fillPool(ResourcePool.java:261)
>         at org.apache.uima.internal.util.ResourcePool.<init>(ResourcePool.java:106)
>         at org.apache.uima.internal.util.AnalysisEnginePool.<init>(AnalysisEnginePool.java:95)
>         at org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_impl.initialize(MultiprocessingAnalysisEngine_impl.java:90)
>         at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:90)
>         at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:63)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:260)
>         at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:457)
>         at org.apache.uima.adapter.vinci.VinciAnalysisEngineService_impl.<init>(VinciAnalysisEngineService_impl.java:121)
>         at org.apache.uima.adapter.vinci.VinciAnalysisEngineService_impl.main(VinciAnalysisEngineService_impl.java:444)
>         at org.apache.uima.adapter.vinci.VinciCasObjectProcessorService_impl.main(VinciCasObjectProcessorService_impl.java:54)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message