java.lang.IllegalAccessError: tried to access method net.sf.robocode.battle.BattleProperties.load(Ljava/io/FileInputStream;)V from class net.sf.robocode.battle.BattleManager

robocode | krris | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot load battle file when -DNOSECURITY=true is enabled - java.lang.IllegalAccessError

    robocode | 3 years ago | krris
    java.lang.IllegalAccessError: tried to access method net.sf.robocode.battle.BattleProperties.load(Ljava/io/FileInputStream;)V from class net.sf.robocode.battle.BattleManager

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method net.sf.robocode.battle.BattleProperties.load(Ljava/io/FileInputStream;)V from class net.sf.robocode.battle.BattleManager

      at net.sf.robocode.battle.BattleManager.loadBattleProperties()
    2. net.sf.robocode
      RobocodeMain.run
      1. net.sf.robocode.battle.BattleManager.loadBattleProperties(BattleManager.java:252)
      2. net.sf.robocode.core.RobocodeMain.run(RobocodeMain.java:154)
      2 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame