Matt Burgess created NIFI-10231: ----------------------------------- Summary: Scripted controller services throw error on configuration restored Key: NIFI-10231 URL: https://issues.apache.org/jira/browse/NIFI-10231 Project: Apache NiFi Issue Type: Bug Components: Extensions Reporter: Matt Burgess
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)