Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5118

UIMA-AS: NPE thrown when cleaning up C++ based service

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      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().

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: