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

Fix NPE in UIMA AS Client When Running with Log Level > INFO

    Details

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

      Description

      NPE is thrown in AsynchAECasManager.iniitalize method if log level > INFO and UIMA AS client application does not provide initial heap size in ApplicationContext. If the context is not provided, the UIMA AS client initialize() method passes null for performanceTuningSettings when calling AsynchAECasManager.initialize(). Inside that method, the performanceTuningSettings is dereferenced causing NPE.

        Activity

        Hide
        cwiklik Jerry Cwiklik added a comment -

        Modified BaseUIMAAsynchronousEngine_impl.initialize() to prevent passing null for performanceTunningSetting arg to the AsynchAECasManager.initialize()

        Show
        cwiklik Jerry Cwiklik added a comment - Modified BaseUIMAAsynchronousEngine_impl.initialize() to prevent passing null for performanceTunningSetting arg to the AsynchAECasManager.initialize()

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development