Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
czyz opened this issue May 13, 2022 · 0 comments

Comments

@czyz
Copy link

czyz commented May 13, 2022

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.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant