[
https://issues.apache.org/jira/browse/UIMA-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Lally closed UIMA-547.
---------------------------
Resolution: Fixed
> XmiCasDeserializer fails to deserialize arrays if JCAS has been initialized
> ---------------------------------------------------------------------------
>
> Key: UIMA-547
> URL: https://issues.apache.org/jira/browse/UIMA-547
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.2
> Reporter: Adam Lally
> Assignee: Adam Lally
> Fix For: 2.3
>
>
> If the JCAS has been initialized, subsequently attempting to deserialize an
> XMI CAS containing an array will fail with an error message such as:
> java.lang.ClassCastException: org.apache.uima.jcas.cas.StringArray cannot be
> cast to org.apache.uima.cas.impl.FeatureStructureImplC
> The XmiCasDeserializer is incorrectly trying to typecast to
> FeatureStructureImplC, which is the implementation class used only in
> non-JCAS scenarios. It is surprising we did not see this before.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.