Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When the framework calls OnConfigurationRestored on a scripted controller service, the following error is thrown:
2022-07-12 02:48:46,500 ERROR [main] org.apache.nifi.util.ReflectionUtils Can not invoke method 'public void org.apache.nifi.script.AbstractScriptedControllerService.onConfigurationRestored(org.apache.nifi.processor.ProcessContext)' with provided arguments since argument 0 of type 'interface org.apache.nifi.processor.ProcessContext' is not assignable from provided value of type 'class org.apache.nifi.controller.service.StandardConfigurationContext'.
This is due to the AbstractScriptedControllerService using a ProcessContext argument instead of a ConfigurationContext argument.
Attachments
Issue Links
- links to