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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0AS
    • Async Scaleout
    • 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

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: