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)