You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2021/02/22 14:07:00 UTC
[jira] [Work started] (UIMA-6318) Deserialization of array subtypes
fails (form6)
[ https://issues.apache.org/jira/browse/UIMA-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on UIMA-6318 started by Richard Eckart de Castilho.
--------------------------------------------------------
> 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)