java.lang.NullPointerException

robocode | fnl | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Enabling sound makes Robocode crash

    robocode | 1 decade ago | fnl
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at robocode.sound.SoundManager.playSound()
    2. robocode.sound
      SoundManager.playBulletSound
      1. robocode.sound.SoundManager.playSound(Unknown Source)
      2. robocode.sound.SoundManager.playBulletSound(Unknown Source)
      2 frames
    3. robocode.battle
      Battle.run
      1. robocode.battle.Battle.playSounds(Unknown Source)
      2. robocode.battle.Battle.runRound(Unknown Source)
      3. robocode.battle.Battle.run(Unknown Source)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame