battlecode.instrumenter.InstrumentationException

ILLEGAL Team is known to have errors

Solutions on the web3

  • via GitHub by BrianGuo
    , 6 months ago
    ILLEGAL Team is known to have errors
  • ILLEGAL Illegal class: testplayerarray/RobotPlayer; this class cannot be referenced by player code.
  • via GitHub by omelkonian
    , 5 months ago
    ILLEGAL Illegal class: scala/reflect/ClassTag$ this class cannot be referenced by player code.
  • Stack trace

    • battlecode.instrumenter.InstrumentationException: ILLEGAL Team is known to have errors at battlecode.instrumenter.TeamClassLoaderFactory$Loader.loadClass(TeamClassLoaderFactory.java:388) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at sun.misc.Unsafe.defineClass(Native Method) at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63) at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399) at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393) at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:53) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at battlecode.instrumenter.SandboxedRobotPlayer.setBytecodeLimit(SandboxedRobotPlayer.java:269) at battlecode.world.control.PlayerControlProvider.runRobot(PlayerControlProvider.java:132) at battlecode.world.control.TeamControlProvider.runRobot(TeamControlProvider.java:101) at battlecode.world.GameWorld.lambda$updateRobots$1(GameWorld.java:132) at gnu.trove.map.hash.TIntObjectHashMap.forEachValue(TIntObjectHashMap.java:402) at battlecode.world.ObjectInfo.eachRobot(ObjectInfo.java:112) at battlecode.world.GameWorld.updateRobots(GameWorld.java:130) at battlecode.world.GameWorld.runRound(GameWorld.java:96) at battlecode.server.Server.runMatch(Server.java:253) at battlecode.server.Server.run(Server.java:167) at battlecode.server.Main.runHeadless(Main.java:77) at battlecode.server.Main.run(Main.java:109) at battlecode.server.Main.main(Main.java:119)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.