Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
Description
This code illustrates the problem:
//create string array where some elements are unset (null)
StringArrayFS strArray = cas.createStringArrayFS(3);
strArray.set(1, "value");
cas.getIndexRepository().addFS(strArray);
//serialize to XCAS
ByteArrayOutputStream baos = new ByteArrayOutputStream();
XCASSerializer.serialize(cas,baos);
This problem affects Vinci services