[
https://issues.apache.org/jira/browse/UIMA-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik updated UIMA-1238:
--------------------------------
Attachment: uimaj-as-core-UIMA-1238-patch.txt
Fixes NPE in the Uima AS aggregate while trying to send a reply back a client.
A check is made to make sure that the Input Cas Reference Id is not NULL before
trying to store it in a message going back to the client. The input Cas
Reference Id may be null if the CAS being returned to the client is *the*
initial input CAS sent by the client application. This CAS does not have a
parent.
> Fix NullPointerException When Sending Reply to Uima AS Client
> -------------------------------------------------------------
>
> Key: UIMA-1238
> URL: https://issues.apache.org/jira/browse/UIMA-1238
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Attachments: uimaj-as-core-UIMA-1238-patch.txt
>
>
> There is a NPE when sending a reply back to a client from Uima AS aggregate.
> Caused by: java.lang.NullPointerException
> at
> java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:846)
> at
> org.apache.uima.aae.spi.transport.vm.UimaVmMessage.addStringProperty(UimaVmMessage.java:52)
> at
> org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.sendVMMessage(AggregateAnalysisEngineController_impl.java:1594)
> at
> org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.replyToClient(AggregateAnalysisEngineController_impl.java:1552)
> at
> org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.finalStep(AggregateAnalysisEngineController_impl.java:1358)
> ... 13 more
> It seems that the code is trying to set a property with a value of NULL which
> is not allowed
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.