Support Questions

Find answers, ask questions, and share your expertise

Error while Initializing Nifi at nifi-app.logg(fasterxml.jackson)

New Contributor

The flow was working fine and suddenly created this error. I have updated my Java. Could it be the cause?

 

ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.standard.AttributesToJSON could not be instantiated java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.standard.AttributesToJSON could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:142) at org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:117) at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:702) at org.apache.nifi.NiFi.<init>(NiFi.java:160) at org.apache.nifi.NiFi.main(NiFi.java:268) Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonFactory.requiresPropertyOrdering()Z at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:530) at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:449) at org.apache.nifi.processors.standard.AttributesToJSON.<clinit>(AttributesToJSON.java:132) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 7 common frames omitted
3 REPLIES 3

Explorer

Did you find  any solution for it. 

Master Guru

@ykonduri 

 

What version of Apache NiFi or CFM or HDF are you using?

Have you added any non-standard additional nars, jars, etc to NiFi's lib or extensions folders?

Thank you,

Matt

Explorer

Nifi version : 1.11.4

we added one custom nar file. Last 8 months i was working fine, due to memory issue it is stop. Increase memory details in bootstrap.conf and try to start it ,it is given error like you post.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.