uima-dev mailing list archives

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

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

Jaroslaw Cwiklik commented on UIMA-6210:

The BaseStatusCallbackListener interface has 

 * Called when the processing of an entire collection has completed.
 public void collectionProcessComplete();

perhaps should add:

   default void collectionProcessCompleteFailed(Exception cause) {

      // do nothing?? Error has already been logged




> 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

View raw message