We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm having this Null Pointer Exception whenever I start my exported Windows application that uses the Leap Motion for Processing library. I did get that the solution was to put my hand above Leap Motion first before run the app. However, what I don't understand is why I don't have to do that when I just run the pde file in Processing IDE?
I did use a thread to detect a custom gesture in Leap Motion. Is this a cause for the problem? Is there any workaround for this?
This is the error message that I got from Command Prompt:
# LeapMotion-Library v1.1.3 - LeapMotion-SDK v1.0.9 - https://github.com/voidplu s/leap-motion-processing Exception in thread "Animation Thread" java.lang.NullPointerException at de.voidplus.leapmotion.LeapMotion.getLeftHand(Unknown Source) at train_0_4.draw(train_0_4.java:93) at processing.core.PApplet.handleDraw(PApplet.java:2305) at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243) at processing.core.PApplet.run(PApplet.java:2176) at java.lang.Thread.run(Unknown Source)