controlP5 error onOpenProcessing
in
Contributed Library Questions
•
9 months ago
Hi I used to run
this sketch on OpenProcessing with no problem. I now get this error:
java.security.AccessControlException: access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks")
Exception in thread "Animation Thread" java.lang.ExceptionInInitializerError
at WormsEnglish06.setup(WormsEnglish06.java:130)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at controlP5.BitFont.<init>(Unknown Source)
at controlP5.ControlP5.<clinit>(Unknown Source)
... 4 more
java: 130 is cp5 = new ControlP5(this); to initialize controlP5.
Setting all controlP5 objects/function to Public doesn't solve it. The sketch is still running ok under Processing 1.5.
Any idea to get this solved plz?
1