Mark Payne created NIFI-12740:
---------------------------------

             Summary: Python Processors sometimes stuck in invalid state: 
'Initializing runtime environment'
                 Key: NIFI-12740
                 URL: https://issues.apache.org/jira/browse/NIFI-12740
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 2.0.0


When creating a Python processor, sometimes the Processor remains in an invalid 
state with the message "Initializing runtime environment"

In the logs, we see the following error/stack trace:
{code:java}
2024-02-05 17:23:30,308 ERROR [Initialize SetRecordField] org.apache.nifi.NiFi 
An Unknown Error Occurred in Thread VirtualThread[#123,Initialize 
SetRecordField]/runnable@ForkJoinPool-1-worker-5: 
java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because 
"processorTypes" is null
java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because 
"processorTypes" is null
        at 
org.apache.nifi.py4j.StandardPythonBridge.findExtensionId(StandardPythonBridge.java:322)
        at 
org.apache.nifi.py4j.StandardPythonBridge.createProcessorBridge(StandardPythonBridge.java:99)
        at 
org.apache.nifi.py4j.StandardPythonBridge.lambda$createProcessor$3(StandardPythonBridge.java:142)
        at 
org.apache.nifi.python.processor.PythonProcessorProxy.lambda$new$0(PythonProcessorProxy.java:73)
        at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) {code}



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

Reply via email to