Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
hedning
hedning's Profile
1
Posts
3
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
NullPointerException Error
[9 Replies]
20-Apr-2011 04:22 AM
Forum:
Integration and Hardware
Hello, im very new to using processing and i've ran into a huge problem which i dont have enough knowledge to solve on my own, so here is the scenario, I need to get my computer to play a sound by pressing an button...
Here is the error:
processing.app.debug.RunnerException: NullPointerException
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:582)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.NullPointerException
at ddf.minim.javasound.JSMinim.getAudioInputStream(JSMinim.java:604)
at ddf.minim.javasound.JSMinim.getAudioRecordingStream(JSMinim.java:200)
at ddf.minim.Minim.loadFile(Minim.java:357)
at sketch_apr20a.setup(sketch_apr20a.java:44)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Here is the highlighted area player = minim.loadFile("SS1.mp3", 2048);
The file SS1.mp3 is in the data folder below the saved processing file
«Prev
Next »
Moderate user : hedning
Forum