[
https://issues.apache.org/jira/browse/UIMA-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik closed UIMA-4363.
-------------------------------
Resolution: Fixed
On failure while serializing user exception (process failed) create a
RuntimeException and serialize that instead.
> DUCC JP not handling errors while serializing process exceptions
> ----------------------------------------------------------------
>
> Key: UIMA-4363
> URL: https://issues.apache.org/jira/browse/UIMA-4363
> Project: UIMA
> Issue Type: Bug
> Components: DUCC
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.0.0-Ducc
>
>
> When an AE throws an exception from process(), the JP serializes the
> exception and sends it back to the JD. If the annotator designer throws an
> exception that is not serializable, the JP fails and the JD is not notified
> of a process failure.
> Modify code to catch exceptions while serializing and send back serialized
> RuntimeException with an appropriate message directing user to look at JP log
> for more details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)