UIMA
  1. UIMA
  2. UIMA-2304

UIMA AS service serializes Exception object which may contain user defined Exception class not available to the client

    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

      When AE throws an exception UIMA wraps it in AnalysisEngineProcessException which is handed off to UIMA AS. This exception is subsequently serialized as a java object and sent in a reply to the client. The client deserializes the cargo back to a java Exception and hands it off to the application via a callback. The problem is that the Exception stack trace may include user defined Exception class(es) which are not available to the client thus causing ClassNotFound while deserializing a reply. Modify UIMA AS service side to serialize an exception to a String and send that to the client.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development