You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2007/08/24 17:39:30 UTC
[jira] Commented: (UIMA-547) XmiCasDeserializer fails to
deserialize arrays if JCAS has been initialized
[ https://issues.apache.org/jira/browse/UIMA-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522568 ]
Adam Lally commented on UIMA-547:
---------------------------------
Also looks like it could affect XCAS deserialization for certain array types (boolean,short,long,double).
> 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.