[
https://issues.apache.org/jira/browse/UIMA-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik closed UIMA-5118.
-------------------------------
Resolution: Fixed
added check for null to avoid NPE
> UIMA-AS: NPE thrown when cleaning up C++ based service
> ------------------------------------------------------
>
> Key: UIMA-5118
> URL: https://issues.apache.org/jira/browse/UIMA-5118
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.9.0AS
>
>
> NPE is thrown from BaseUIMAAsynchronousEngine_impl.undeploy()
> line:
> ((AnalysisEngineController) ctrer).getControllerLatch().release();
>
> when a controller is an instance of UimacppServiceController. This class
> returns null from getControllerLatch() causing NPE in the uima-as client
> which tries to clean up after processing.
> Add check for null before attempting call to release().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)