[ 
https://issues.apache.org/jira/browse/UIMA-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677673#comment-17677673
 ] 

Richard Eckart de Castilho commented on UIMA-6485:
--------------------------------------------------

Thx :)

> NPE while deserializing an XMI in a PEAR context
> ------------------------------------------------
>
>                 Key: UIMA-6485
>                 URL: https://issues.apache.org/jira/browse/UIMA-6485
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 3.3.1SDK
>         Environment: * SO: macOS 12.6.2
>  * OpenJDK Temurin 1.8.0_322
>  * uimaj-core 3.3.1
>            Reporter: Beni Santos
>            Priority: Major
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to