Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Whenever a Processor throws an Exception from a method annotated with @OnScheduled, we get an error message and bulletin such as:
MyProcessor[id=ac88775c-0158-1000-4de6-52946f9264b5] MyProcessor[id=ac88775c-0158-1000-4de6-52946f9264b5] failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.; processor will not be scheduled to run for 30 seconds: java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
This is repetition (contains Processor's toString() twice) and also contains the RuntimeException's toString() twice without actually indicating what the problem is. More details are logged in nifi-app.log but the bulletin should be more specific.
I have not verified yet, but a similar problem likely exists with @OnStopped, @OnUnscheduled, @OnScheduled, etc.