Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0SDK, 2.8.1SDK
-
None
-
All
Description
When serializing a CAS, if there are references to the NULL element (<cas:NULL xmi:id="0"/>) in the features for an annotation, a NullPointerException is thrown at line 693 of CasSerializerSupport. It appears that the ll_getTypeForCode(0) returns null, resulting in a NullPointerException when the "getName()" method is called on the return object.
The same CAS can successfully be serialized to XML using the XmlCasSerializer.