NullPointer exception using Arduino?
in
Programming Questions
•
2 years ago
I am using the Processing code found here
http://remotedevice.net/project/sonar-tonebank/ with Processing 1.5.1. The error I am getting is
Exception in thread "Animation Thread" java.lang.NullPointerException
at ddf.minim.javasound.JSMinim.getAudioInputStream(JSMinim.java:604)
at ddf.minim.javasound.JSMinim.getAudioSample(JSMinim.java:309)
at ddf.minim.Minim.loadSample(Minim.java:305)
at tonebank_processing.setup(tonebank_processing.java:68)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
I'd like to also point out that I haven't the faintest idea what I'm doing. So uh, when I want to run this, should I first upload the Arduino code found on the site, then present the Processing code and hope it works? What's the protocol here?
/huge noob sorry
(don't kill the noob)
Exception in thread "Animation Thread" java.lang.NullPointerException
at ddf.minim.javasound.JSMinim.getAudioInputStream(JSMinim.java:604)
at ddf.minim.javasound.JSMinim.getAudioSample(JSMinim.java:309)
at ddf.minim.Minim.loadSample(Minim.java:305)
at tonebank_processing.setup(tonebank_processing.java:68)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
I'd like to also point out that I haven't the faintest idea what I'm doing. So uh, when I want to run this, should I first upload the Arduino code found on the site, then present the Processing code and hope it works? What's the protocol here?
/huge noob sorry
(don't kill the noob)
1