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)

Reply via email to