[ 
https://issues.apache.org/jira/browse/NIFI-10231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess reassigned NIFI-10231:
-----------------------------------

    Assignee: Matt Burgess

> 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
>            Assignee: Matt Burgess
>            Priority: Major
>
> 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)

Reply via email to