You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2023/09/30 13:14:00 UTC

[jira] [Comment Edited] (NIFI-12142) Eliminate deprecated references

    [ https://issues.apache.org/jira/browse/NIFI-12142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770708#comment-17770708 ] 

David Handermann edited comment on NIFI-12142 at 9/30/23 1:13 PM:
------------------------------------------------------------------

Found the following error in node logs, planning to address.

{noformat}
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nifiProperties$created#5460b754' defined in class path resource [nifi-cluster-protocol-context.xml]: No matching factory method found on class [org.apache.nifi.util.NiFiProperties]: factory bean 'nifiProperties'; factory method 'getClusterNodeProtocolThreads()'. Check that a method with the specified name exists and that it is non-static.
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:609)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:374)
	... 141 common frames omitted
 {noformat}


was (Author: exceptionfactory):
Found the following error in node logs, planning to address in a separate Jira issue:

{noformat}
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nifiProperties$created#5460b754' defined in class path resource [nifi-cluster-protocol-context.xml]: No matching factory method found on class [org.apache.nifi.util.NiFiProperties]: factory bean 'nifiProperties'; factory method 'getClusterNodeProtocolThreads()'. Check that a method with the specified name exists and that it is non-static.
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:609)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:374)
	... 141 common frames omitted
 {noformat}

> Eliminate deprecated references
> -------------------------------
>
>                 Key: NIFI-12142
>                 URL: https://issues.apache.org/jira/browse/NIFI-12142
>             Project: Apache NiFi
>          Issue Type: Task
>          Components: Core Framework, Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 2.0.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We still have numerous deprecated references throughout our codebase that we should strive to eliminate for 2.0.
> Some of these deprecated references are from NiFi methods & classes. Others are from other dependencies, such as Swagger annotations. To the extend possible, we need to clean up all of these deprecations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)