You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Mike Barborak (JIRA)" <de...@uima.apache.org> on 2013/11/13 22:05:20 UTC
[jira] [Created] (UIMA-3429) Throw exception if setting FS
reference to FS not in CAS
Mike Barborak created UIMA-3429:
-----------------------------------
Summary: Throw exception if setting FS reference to FS not in CAS
Key: UIMA-3429
URL: https://issues.apache.org/jira/browse/UIMA-3429
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Affects Versions: 2.3
Reporter: Mike Barborak
Priority: Minor
It would be helpful if adding a feature structure reference to a CAS for a feature structure that does not exist in that CAS failed quickly and with a clear exception as to the cause.
In my case I had two CASes and referred to a feature structure in one from a feature structure in another. The exception was a cryptic NPE in BinaryCasSerDes4 during CAS serialization.
--
This message was sent by Atlassian JIRA
(v6.1#6144)