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] Closed: (UIMA-24) Uninformative error message when trying to create an AE from a descriptor whose frameworkImplementation is incorrect
Date Fri, 01 Dec 2006 21:58:24 GMT
     [ http://issues.apache.org/jira/browse/UIMA-24?page=all ]

Adam Lally closed UIMA-24.
--------------------------

    Fix Version/s: 2.1
       Resolution: Fixed

Improved error message and added a test case.
Also removed the support for "JEDII" and "TAF" as framework implementation names,
and created constants holding the correct framework implementation names rather than
having the string literals repeated in several places.

> 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
>             Fix For: 2.1
>
>
> 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