Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.0.0-M1, 2.0.0-M2
-
None
Description
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:
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)