uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (Jira)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6210) CPE swallows exceptions thrown in collectionProcessComplete
Date Thu, 02 Apr 2020 20:08:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074061#comment-17074061
] 

Richard Eckart de Castilho commented on UIMA-6210:
--------------------------------------------------

An alternative might be introducing a new callback method with a default implementation in
the interface.

> CPE swallows exceptions thrown in collectionProcessComplete
> -----------------------------------------------------------
>
>                 Key: UIMA-6210
>                 URL: https://issues.apache.org/jira/browse/UIMA-6210
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Collection Processing
>            Reporter: Richard Eckart de Castilho
>            Assignee: Jaroslaw Cwiklik
>            Priority: Major
>
> When an analysis engine is deployed into a CPE and run, then exceptions thrown by the
{{collectionProcessComplete}} method of the analysis engine are swallowed by the CPE {{ProcessingContainer_Impl}}.

> Instead of being swallowed, I would expect them to be reported to any {{StatusCallbackListener}}
registered with the CPE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message