UIMA
  1. UIMA
  2. UIMA-2188

UIMA AS service not releasing CAS if deserializer fails

    Details

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

      Description

      UIMA AS service should release a CAS back to its CAS pool when deserializer throws an exception. The method in question is deserializeCASandRegisterWithCache() in ProcessRequestHandler.java. It fetches CAS from a CAS pool before deserializing. If deserializer throws an exception, the deserializeCASandRegisterWithCache() returns that exception but never releases the CAS. Add try ... catch
      and release the CAS if exception is thrown.

        Activity

        Jerry Cwiklik created issue -
        Jerry Cwiklik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development