Hi! I’ve been using the Proclipsing plugin to Eclipse to import some code that was originally written in the Processing IDE so that I can work with it more like regular Java.
The code works fine in the Processing IDE, but After getting rid of the syntax differences, I get a Null Pointer Exception in the ControlP5 class, which is thrown from this declaration:
ControlP5 cp5 = new ControlP5(this);
The error stack after that declaration goes:
ControlP5.(PApplet) line: not available
ControlP5.init() line: not available [local variables unavailable]
with the latter being the final breaking error.
I can’t change the controlP5 code, has anyone else had this problem and know how to fix it? Is it something wrong with my declaration?