You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2015/07/24 16:33:04 UTC

[jira] [Updated] (UIMA-4533) Regression - class cast exception in CasAnnotationViewer

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

Marshall Schor updated UIMA-4533:
---------------------------------
    Description: 
The changes introduced in UIMA-3374 broke the viewer due the changed code assuming non-JCas kinds of Java cover classes.  One instance of this is the line 
{code}
StringArrayFSImpl arrayFS = (StringArrayFSImpl) aFS.getFeatureValue(feature);
{code}
which generates a cast exception if the JCas is being used.  Also scan the code to find any other instances of this.

  was:
The changes introduced in UIMA-3374 broke the viewer due the changed code assuming non-JCas kinds of Java cover classes.  One instance of this is the line 
{code}
StringArrayFSImpl arrayFS = (StringArrayFSImpl) aFS.getFeatureValue(feature);
{code}
which generates a cast exception if the JCas is being used.


> Regression - class cast exception in CasAnnotationViewer
> --------------------------------------------------------
>
>                 Key: UIMA-4533
>                 URL: https://issues.apache.org/jira/browse/UIMA-4533
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.8.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.8.1SDK
>
>
> The changes introduced in UIMA-3374 broke the viewer due the changed code assuming non-JCas kinds of Java cover classes.  One instance of this is the line 
> {code}
> StringArrayFSImpl arrayFS = (StringArrayFSImpl) aFS.getFeatureValue(feature);
> {code}
> which generates a cast exception if the JCas is being used.  Also scan the code to find any other instances of this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)