java.lang.ClassCircularityError: net/sf/robocode/host/security/RobocodeSecurityPolicy$2

robocode | funwai | 6 months 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

    Generating battle with Robocode engine, security error

    robocode | 6 months ago | funwai
    java.lang.ClassCircularityError: net/sf/robocode/host/security/RobocodeSecurityPolicy$2
  2. 0

    Scala and Robocode- ClassCircularityError

    Stack Overflow | 4 years ago | Chobeat
    java.lang.ClassCircularityError: net/sf/robocode/host/security/RobocodeSecurityPolicy$2

    Root Cause Analysis

    1. java.lang.ClassCircularityError

      net/sf/robocode/host/security/RobocodeSecurityPolicy$2

      at net.sf.robocode.host.security.RobocodeSecurityPolicy.implies()
    2. net.sf.robocode
      RobocodeSecurityPolicy.implies
      1. net.sf.robocode.host.security.RobocodeSecurityPolicy.implies(RobocodeSecurityPolicy.java:101)
      1 frame
    3. Java RT
      System.getProperty
      1. java.security.ProtectionDomain.implies(ProtectionDomain.java:281)
      2. java.security.AccessControlContext.checkPermission(AccessControlContext.java:450)
      3. java.security.AccessController.checkPermission(AccessController.java:884)
      4. java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      5. java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)
      6. java.lang.System.getProperty(System.java:717)
      6 frames
    4. net.sf.robocode
      RepositoryManager.refresh
      1. net.sf.robocode.io.FileUtil.getRobotsDir(FileUtil.java:209)
      2. net.sf.robocode.repository.RepositoryManager.getRobotsDirectory(RepositoryManager.java:62)
      3. net.sf.robocode.repository.RepositoryManager.refresh(RepositoryManager.java:91)
      4. net.sf.robocode.repository.RepositoryManager.refresh(RepositoryManager.java:87)
      4 frames
    5. robocode.control
      RobocodeEngine.getLocalRepository
      1. robocode.control.RobocodeEngine.getLocalRepository(RobocodeEngine.java:231)
      1 frame
    6. robot
      battle.main
      1. robot.battle.main(battle.java:26)
      1 frame