Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A "Sofa not found" exception is thrown by a CPE where the CollectionReader reads a multi-Sofa XCAS and there are two CAS Processors: An integrated PersonTitleAnnotator with Sofa mapping, and a remote annotator.
The reason is that the call to the PersonTitleAnnotator leaves the CAS in a bad state (the "currentComponentInfo" field is still set, indicating that the CAS is still being processed by the annotator, and that the PersonTitleAnnotator's sofa mappings are still in effect). This confuses the XCAS serialization/deserialization that is attempted later while calling the remote annotator, resulting in an exception.