Processing.py-Bugs icon indicating copy to clipboard operation
Processing.py-Bugs copied to clipboard

Python error in the latest version

Open dibyendu1 opened this issue 4 years ago • 3 comments

While running any code in Python, the following error is encountered:

java.lang.NullPointerException at jycessing.Runner.runSketchBlocking(Unknown Source) at jycessing.mode.run.SketchRunner.lambda$startSketch$3(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:833)

Software info:

Processing 4.0b3 OS: Ubuntu 20.04

dibyendu1 avatar Jan 16 '22 06:01 dibyendu1

I have the same error on a different setup :

Processing 4.0b3 MacOS Big Sur (11.6)

I first had to authorise libjniosx.dylib manually, and then the same error message that OP sees appears in console.

Thanks ahead

Chagomass avatar Jan 16 '22 09:01 Chagomass

At the moment, Python Mode isn't supported in Processing 4, but the developers are working on a solution. Use Processing 3.5.4 for now.

tabreturn avatar Jan 16 '22 11:01 tabreturn

At the moment, Python Mode isn't supported in Processing 4, but the developers are working on a solution. Use Processing 3.5.4 for now.

Thank you for the suggestion. I will be using Processing 3.5.4 for now. Hope it get fixed soon.

dibyendu1 avatar Jan 16 '22 13:01 dibyendu1