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

Michael Baessler commented on UIMA-125:
---------------------------------------

I did some tests with the current CVD and try to load a type system 
deserialized with version v1.x without success.

The exception is:

/10/07 4:48:20 PM - 10: 
org.apache.uima.tools.annot_view.MainFrame.handleException(1726): SEVERE: 
Trying to define feature "sofa" on type "uima.tt.TTAnnotation" with range 
"uima.cas.Integer", but feature has already been defined on (super)type 
"uima.cas.AnnotationBase" with range "uima.cas.Sofa".

CASAdminException: Trying to define feature "sofa" on type 
"uima.tt.TTAnnotation" with range "uima.cas.Integer", but feature has already 
been defined on (super)type "uima.cas.AnnotationBase" with range 
"uima.cas.Sofa".
        at 
org.apache.uima.cas.impl.TypeSystemImpl.addFeature(TypeSystemImpl.java(Compiled 
Code))
        at 
org.apache.uima.cas.impl.TypeSystemImpl.addFeature(TypeSystemImpl.java:530)
        at 
org.apache.uima.util.CasCreationUtils.setupTypeSystem(CasCreationUtils.java:1009)
        at 
org.apache.uima.util.CasCreationUtils.doCreateCas(CasCreationUtils.java:564)
        at 
org.apache.uima.util.CasCreationUtils.createCas(CasCreationUtils.java:345)

Can that be fixed in the code?

> Apache UIMA client should be able to communicate with IBM UIMA (1.x or 2.0) 
> service
> -----------------------------------------------------------------------------------
>
>                 Key: UIMA-125
>                 URL: https://issues.apache.org/jira/browse/UIMA-125
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Transport Adapters - SOAP, Vinci
>            Reporter: Adam Lally
>         Assigned To: Eddie Epstein
>             Fix For: 2.1
>
>
> For ease of migration it is important that an application running Apache UIMA 
> should be able to call services deployed under previous versions of UIMA.
> Previous discussions with Eddie have indicated this would be fairly 
> straightforward for single-Sofa CASes, not necessarily for CASes containing 
> multiple Sofas.  Possibly support for single-Sofa CASes only is sufficient, 
> as that would still help migration for the vast majority of UIMA users.

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

        

Reply via email to