[ 
https://issues.apache.org/jira/browse/UIMA-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Eckart de Castilho resolved UIMA-6318.
----------------------------------------------
    Resolution: Fixed

> Deserialization of array subtypes fails (form6)
> -----------------------------------------------
>
>                 Key: UIMA-6318
>                 URL: https://issues.apache.org/jira/browse/UIMA-6318
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.2.0SDK
>
>
> When serializing, the form 6 binary serializer does use a diff/delta encoding 
> for certain values. A value is shortened by storing it as a delta to a 
> previously stored value. The previously stored values are maintained in 
> relation to the feature structure types.
> When an XMI file is de-serialized in UIMAv3, UIMA creates subtypes of FSArray 
> by default. 
> It appears that when serializing a CAS containing such subtypes, the subtype 
> ID is stored in the CAS and the delta encoding is performed per subtype. 
> However, when deserializing, the code tries to resolve the delta values 
> against the hard-coded FSArray, causing an exception.
> The issue can be worked around by setting the system property 
> {{uima.disable_subtype_fsarray_creation}} to {{true}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to