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

UIMA AS Primitive Service ResourceInitializationException is Silently Handled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3AS
    • 2.3.1AS
    • Async Scaleout
    • None

    Description

      When deploying Uima AS Primitive service, a custom ThreadFactory is used to initialize each AE instance in its own thread. Once initialized, the AE instance is pinned to its thread. Subsequent process() calls will be done in the same thread that was used to initialize an AE. An exception thrown by AE during initialization propagates all the way to the custom ThreadFactory where it is silently ignored. Three bugs here:

      1) The exception must be logged in the UimaAsThreadFactory.newThread() method.
      2) Controller's callback listener must be called to notify the listener of initialization exception
      3) There is no testcase in extended test suite to expose this bug

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: