You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2016/09/22 19:17:21 UTC

[jira] [Closed] (UIMA-5118) UIMA-AS: NPE thrown when cleaning up C++ based service

     [ 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)