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

UIMA CasCreationUtils throws NPE when multiple threads in UIMA AS call defineCasPool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0AS, 2.4.1SDK
    • None
    • None

    Description

      UIMA CasCreationUtils throws NPE from setupTypePriorities() when UIMA AS scales AEs in multiple threads. The NPE is due to thread safety issue in UIMA caused by lazy initialization of CAS pools. Seems to be triggered when large type system is used. Synchronize UIMA AS org.apache.uima.aae.EECasManager_impl.defineCasPool() to make sure only one thread at a time executes the code.

      Attachments

        Activity

          People

            schor Marshall Schor
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: