Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.3.1SDK
-
None
-
None
-
- SO: macOS 12.6.2
- OpenJDK Temurin 1.8.0_322
- uimaj-core 3.3.1
Description
When running an AAE in a PEAR context (uimaj-core 3.3.1), if a CAS Multiplier tries to populate a new CAS while loading it from an XMI file, a NullPointerException is thrown by the method maybeMakeBaseVersionForPear of the class CASImpl.java (line 1536).
Complete failing example here: https://github.com/benisantos/uima3-xmi-deserializer-in-pear
Workaround: use the uimaj-io-json library and de/serialize JSON instead of XMI.