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

Modify UIMA-AS Aggregate to Handle Cas Not Found Error

    XMLWordPrintableJSON

Details

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

    Description

      Catch Cas Not Found exception in the finalStep(), log it and return. This exception can occur when one thread is processing a child of an input CAS in parallel with another thread processing a second child of the same CAS. The first thread may remove the input CAS before the second thread completes.
      When this happens, the second thread eventually will try to fetch the input CAS but by that time the CAS no longer exists. An exception is thrown and send through the error handler which reports it to a client. This exception should be handled by the aggregate and not sent to the client.

      Attachments

        1. uimaj-as-core-UIMA-1255-patch.txt
          5 kB
          Jaroslaw Cwiklik
        2. uimaj-as-activemq-UIMA-1255-patch.txt
          3 kB
          Jaroslaw Cwiklik

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: