You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Steven Youtsey (JIRA)" <ji...@apache.org> on 2016/02/26 00:34:18 UTC

[jira] [Created] (NIFI-1569) nio.ChannelDispatcher - Exits run() on Error without any indication

Steven Youtsey created NIFI-1569:
------------------------------------

             Summary: nio.ChannelDispatcher - Exits run() on Error without any indication
                 Key: NIFI-1569
                 URL: https://issues.apache.org/jira/browse/NIFI-1569
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.4.1, 0.5.0
            Reporter: Steven Youtsey


run() has a try/catch (Exception e). However, if an Error is thrown (like a NoClassDefFoundError), then the run() exits and there is no indication of the problem.

Suggest catch(Throwable t), or take a look at redesigning ChannelListener to monitor the ScheduledFuture produced by executor.schedule().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)