You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2013/05/21 17:57:16 UTC

[jira] [Created] (UIMA-2931) Annotation mode in CAS Editor set to non-existing type

Peter Klügl created UIMA-2931:
---------------------------------

             Summary: Annotation mode in CAS Editor set to non-existing type
                 Key: UIMA-2931
                 URL: https://issues.apache.org/jira/browse/UIMA-2931
             Project: UIMA
          Issue Type: Bug
          Components: CasEditor
    Affects Versions: 2.4.0SDK
            Reporter: Peter Klügl
            Priority: Minor
             Fix For: 2.4.1SDK


If the annotation mode in the CAS Editor is set to a type that is currently not present in the type system that was aused to open the CAS, then a NPE is thrown in AnnotationEditor.setEditorSessionPreferences() in line 
{noformat}
sessionStore.setValue("LastUsedModeType", getAnnotationMode().getName());
{noformat}

.. I know, I switch type system too often...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira