There is a bug with the sound. When I run RoboCode
and the sound is originally not enabled but then I
enable it, RoboCode crashes when it needs to play a
sound:
Null pointer exception running a battle
Exception in thread "Battle Thread"
java.lang.NullPointerException
at robocode.sound.SoundManager.playSound
(Unknown Source)
at robocode.sound.SoundManager.playBulletSound
(Unknown Source)
at robocode.battle.Battle.playSounds(Unknown
Source)
at robocode.battle.Battle.runRound(Unknown
Source)
at robocode.battle.Battle.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--Kinsen
Logged In: YES
user_id=1249353
This has been fixed for the next release of Robocode.