Okay I feel a little guilty for asking this question but...
I'm starting a new project with a class called Background, and the method updateBG in the Background class works when it is called from setup() but not draw() (it gives me a null pointer exception).
Hi, first post here. I'm just curious... I'm cloning Asteroids just for fun, and practice, and I have it right now playing a sound using minim's AudioSample when the ship shoots. However I get the error:
java[1831:eb03] *** __NSAutoreleaseNoPool(): Object 0x2c02fad0 of class NSCFString autoreleased with no pool in place - just leaking
when the program is run, before any sound is played. If necessary I can upload my code, but... I was just wondering what kinds of problems cause this error? Thanks in advance.
By the way, the sound plays fine. It just gives me this scary looking error.. along with two 'Likely buffer underrun in AudioOutput' which I've read are okay as long as they aren't displayed constantly.