Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.1SDK
-
None
Description
A user reported that setting a sofa mapping in a pipeline initialization that included a Pear which used JCas, caused a failure where the JCas initialization couldn't find the classes to load.
Running in debug mode showed that the JCas class loader was not using the Pear's class loader. Stepping through the code showed that casImpl's switchClassLoader method was failing to switch the classloader for the Pear's annotator, because of the multiple views. The code looked at the
CAS's "jcas" field, and found it null (because it was for a view which had not yet been referenced as a JCas).
Attachments
Issue Links
- relates to
-
UIMA-2145 Error adding PEAR file with type priorities to aggregate AE using the CDE
- Closed