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
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

    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