n1ckfg/ManosOsc

RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PApplet.registerDispose(java.lang.Object)'

czyz opened this issue · 0 comments

czyz commented

It fails to run with Processing 4.0b8, I'm guessing it might be similar to this issue (SimpleOpenNI fails with Processing 3.0)

Here's what the console says. I'm not sufficiently familiar with Java to figure this one out.

`
No library found for com.leapmotion.leap.Gesture
No library found for com.leapmotion.leap.Gesture
Couldn't load settings file. Using defaults.
Trying OS X Finder method.Leap Motion Initialized
Leap Motion Connected
OscP5 0.9.8 infos, comments, questions at http://www.sojamo.de/oscP5

[2022/5/13 14:0:53] PROCESS @ OscP5 stopped.

[2022/5/13 14:0:53] PROCESS @ UdpClient.openSocket udp socket initialized.

[2022/5/13 14:0:54] PROCESS @ UdpServer.start() new Unicast DatagramSocket created @ port 33333

[2022/5/13 14:0:54] PROCESS @ UdpServer.run() UdpServer is running @ 33333

[2022/5/13 14:0:54] INFO @ OscP5 is running. you (127.0.0.2) are listening @ port 33333

handleDraw() called before finishing
RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PApplet.registerDispose(java.lang.Object)'
java.lang.RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PApplet.registerDispose(java.lang.Object)'
at processing.opengl.PSurfaceJOGL.lambda$initAnimator$2(PSurfaceJOGL.java:413)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NoSuchMethodError: 'void processing.core.PApplet.registerDispose(java.lang.Object)'
at promidi.MidiIO.(MidiIO.java:100)
at promidi.MidiIO.getInstance(MidiIO.java:143)
at ManosOsc.midiSetup(ManosOsc.java:2569)
at ManosOsc.setup(ManosOsc.java:159)
at processing.core.PApplet.handleDraw(PApplet.java:2142)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:825)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:782)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:453)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PApplet.registerDispose(java.lang.Object)'
Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
Copied to the clipboard. Use shift-click to search the web instead.
`