Support Questions

Find answers, ask questions, and share your expertise

AWS EC2 docker update of nifi instance from 1.19 to 1.22 ERROR

avatar
Rising Star
When upgrading our docker container from 1.19 to 1.22 with the same nifi.properties and flow.xml.gz and repo's we get the following error. Also the same if we tried to migrate to 1.23.
 
Any one any idea's? Google and Chatgpt can't seem to help out 😅
 
Thank you in advanced.
 
2024-01-10 09:54:49,115 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi
Jan 10 09:54:49 awsinstancename docker[21712]: java.lang.VerifyError: Bad return type
Jan 10 09:54:49 awsinstancename docker[21712]: Exception Details:
Jan 10 09:54:49 awsinstancename docker[21712]: Location:
Jan 10 09:54:49 awsinstancename docker[21712]: com/fasterxml/jackson/databind/cfg/MapperBuilder.streamFactory()Lcom/fasterxml/jackson/core/TokenStreamFactory; @7: areturn
Jan 10 09:54:49 awsinstancename docker[21712]: Reason:
Jan 10 09:54:49 awsinstancename docker[21712]: Type 'com/fasterxml/jackson/core/JsonFactory' (current frame, stack[0]) is not assignable to 'com/fasterxml/jackson/core/TokenStreamFactory' (from method signature)
Jan 10 09:54:49 awsinstancename docker[21712]: Current Frame:
Jan 10 09:54:49 awsinstancename docker[21712]: bci: @7
Jan 10 09:54:49 awsinstancename docker[21712]: flags: { }
Jan 10 09:54:49 awsinstancename docker[21712]: locals: { 'com/fasterxml/jackson/databind/cfg/MapperBuilder' }
Jan 10 09:54:49 awsinstancename docker[21712]: stack: { 'com/fasterxml/jackson/core/JsonFactory' }
Jan 10 09:54:49 awsinstancename docker[21712]: Bytecode:
Jan 10 09:54:49 awsinstancename docker[21712]: 0000000: 2ab4 0002 b600 08b0
Jan 10 09:54:49 awsinstancename docker[21712]: at com.fasterxml.jackson.databind.json.JsonMapper.builder(JsonMapper.java:114)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.processors.aws.ml.AwsMachineLearningJobStarter.<clinit>(AwsMachineLearningJobStarter.java:84)
Jan 10 09:54:49 awsinstancename docker[21712]: at java.base/java.lang.Class.forName0(Native Method)
Jan 10 09:54:49 awsinstancename docker[21712]: at java.base/java.lang.Class.forName(Unknown Source)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:336)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:101)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:63)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:788)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.NiFi.<init>(NiFi.java:172)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.NiFi.<init>(NiFi.java:83)
Jan 10 09:54:49 awsinstancename docker[21712]: at org.apache.nifi.NiFi.main(NiFi.java:332)
Jan 10 09:54:49 awsinstancename docker[21712]: 2024-01-10 09:54:49,142 INFO [Thread-0] org.apache.nifi.NiFi Application Server shutdown started
Jan 10 09:54:49 awsinstancename docker[21712]: 2024-01-10 09:54:49,143 INFO [Thread-0] org.apache.nifi.NiFi Application Server shutdown completed
Jan 10 09:54:50 awsinstancename docker[21712]: Received trapped signal, beginning shutdown...
Jan 10 09:54:50 awsinstancename docker[21712]: + echo Received trapped signal, beginning shutdown...
Jan 10 09:54:50 awsinstancename docker[22338]: nifi
1 ACCEPTED SOLUTION
2 REPLIES 2

avatar
Rising Star

Same error when trying to upgrade to 1.24