controlP5 not compatible with opengl2?
in
Contributed Library Questions
•
1 years ago
hey forum,
i'd really like to use both controlP5 and OPENGL2 --- is there a way around this?
trying to use controlP5 with processing 2.0a4 and the new OPENGL renderer. this gives me the following error:
java.lang.NullPointerExceptionat processing.mode.java.runner.Runner.findException(Runner.java:610)at processing.mode.java.runner.Runner.reportException(Runner.java:555)at processing.mode.java.runner.Runner.exception(Runner.java:495)at processing.mode.java.runner.EventThread.exceptionEvent(EventThread.java:367)at processing.mode.java.runner.EventThread.handleEvent(EventThread.java:255)at processing.mode.java.runner.EventThread.run(EventThread.java:89)Exception in thread "Animation Thread" java.lang.NullPointerExceptionat processing.opengl.PTexture.<init>(PTexture.java:93)at processing.opengl.PGraphicsOpenGL.addTexture(Unknown Source)at processing.opengl.PGraphicsOpenGL.getTexture(Unknown Source)at processing.opengl.PGraphicsOpenGL.renderTriangles(Unknown Source)at processing.opengl.PGraphicsOpenGL.endShape(Unknown Source)at processing.core.PGraphics.endShape(PGraphics.java:1376)at processing.core.PGraphics.imageImpl(PGraphics.java:3186)at processing.core.PGraphics.image(PGraphics.java:3034)at processing.core.PApplet.image(PApplet.java:10765)at controlP5.Label.draw(Unknown Source)at controlP5.Slider$SliderDisplay.display(Unknown Source)at controlP5.Controller.draw(Unknown Source)at controlP5.ControllerGroup.drawControllers(Unknown Source)at controlP5.ControllerGroup.draw(Unknown Source)at controlP5.ControlWindow.draw(Unknown Source)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:987)at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:980)at processing.core.PApplet.handleDraw(PApplet.java:1920)at processing.core.PApplet.run(PApplet.java:1803)at java.lang.Thread.run(Thread.java:680)
this can be tested by loading any controlP5 example and putting this to OPENGL mode.
i'd really like to use both controlP5 and OPENGL2 --- is there a way around this?
1