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

UIMA AS process error handler incorrectly handles a CAS that arrives after a timeout

    Details

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

      Description

      The ProcessErrorHandler drops a CAS that arrives from a delegate late (after a timeout) without first checking if the CAS has any children. This leads to NPE exception(s) and possible hangs. The code should first check if the CAS has any children being processed and if so, leave the CAS in play. The parent CAS will eventually be dropped when its last child is processed.

        Activity

        Hide
        cwiklik Jerry Cwiklik added a comment -

        Modified ProcessCasErrrorHandler.handleError() method to stop if from dropping CASes that have children.

        Show
        cwiklik Jerry Cwiklik added a comment - Modified ProcessCasErrrorHandler.handleError() method to stop if from dropping CASes that have children.

          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