You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2023/01/17 08:04:00 UTC
[jira] [Commented] (UIMA-6485) NPE while deserializing an XMI in a PEAR context
[ https://issues.apache.org/jira/browse/UIMA-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677656#comment-17677656 ]
Richard Eckart de Castilho commented on UIMA-6485:
--------------------------------------------------
Thank you for reporting the problem and creating the GitHub repo for reproduction.
We do not use Jira anymore. Could you please open a corresponding issue on our tracker on GitHub?
https://github.com/apache/uima-uimaj/issues
> 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)