uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-5118) UIMA-AS: NPE thrown when cleaning up C++ based service
Date Thu, 22 Sep 2016 17:44:20 GMT
Jerry Cwiklik created UIMA-5118:
-----------------------------------

             Summary: 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)

Mime
View raw message