uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (Updated) (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-2304) UIMA AS service serializes Exception object which may contain user defined Exception class not available to the client
Date Sat, 10 Dec 2011 23:14:40 GMT

     [ https://issues.apache.org/jira/browse/UIMA-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marshall Schor updated UIMA-2304:
---------------------------------

    Fix Version/s:     (was: 2.4.0SDK)
    
> UIMA AS service serializes Exception object which may contain user defined Exception
class not available to the client
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-2304
>                 URL: https://issues.apache.org/jira/browse/UIMA-2304
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message