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

Marshall Schor commented on UIMA-2145:
--------------------------------------

thanks for the test setup.  I did an even simpler one and was able to reproduce 
this.  Looks like it's being caused by some aspects of "pear isolation" - will 
need to investigate.

> Error adding PEAR file with type priorities to aggregate AE using the CDE
> -------------------------------------------------------------------------
>
>                 Key: UIMA-2145
>                 URL: https://issues.apache.org/jira/browse/UIMA-2145
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Lee Surprenant
>
> Adding a PEAR file with its own defined types in the typePriorities section 
> of its descriptor produces a ResourceInitializationError in the Eclipse 
> Component Descriptor Editor.
> To reproduce:
> Created a simple AE and typeSystem, edit the
> typePriorities list to include
> <priorityList>
>   <type>uima.tcas.DocumentAnnotation</type>
>   <type>some.typename.you.Choose</type>
> </priorityList>
> I export and install the PEAR with no issues.
> Now create a new aggregate AE and on the aggregate tab of the editor,
> click Add..., select Import By Location, Browse the file system... to my
> locally installed PEAR file, and click OK.  When I save the editor, I see
> the following error:
> "The Descriptor is invalid for the following reason:
> ResourceInitializationException: Undefined type "some.typename.you.Choose"
> in type priority list. (Descriptor:
> ...installedPears/testPear/desc/test.xml)"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to