Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Pear0
, 1 year ago
ILLEGAL Illegal class: testplayerarray/RobotPlayer; this class cannot be referenced by player code.
via GitHub by omelkonian
, 1 year ago
ILLEGAL Illegal class: scala/reflect/ClassTag$ this class cannot be referenced by player code.
battlecode.instrumenter.InstrumentationException: ILLEGAL Illegal class: testplayerarray/RobotPlayer;
    this class cannot be referenced by player code.	at battlecode.instrumenter.bytecode.ClassReferenceUtil.classReference(ClassReferenceUtil.java:171)	at battlecode.instrumenter.bytecode.ClassReferenceUtil.classReference(ClassReferenceUtil.java:150)	at battlecode.instrumenter.bytecode.InstrumentingMethodVisitor.classReference(InstrumentingMethodVisitor.java:78)	at battlecode.instrumenter.bytecode.InstrumentingMethodVisitor.replaceVars(InstrumentingMethodVisitor.java:623)	at battlecode.instrumenter.bytecode.InstrumentingMethodVisitor.visitFrameNode(InstrumentingMethodVisitor.java:630)	at battlecode.instrumenter.bytecode.InstrumentingMethodVisitor.visitMaxs(InstrumentingMethodVisitor.java:135)	at org.objectweb.asm.ClassReader.a(Unknown Source)	at org.objectweb.asm.ClassReader.b(Unknown Source)	at org.objectweb.asm.ClassReader.accept(Unknown Source)	at org.objectweb.asm.ClassReader.accept(Unknown Source)	at battlecode.instrumenter.TeamClassLoaderFactory$Loader.instrument(TeamClassLoaderFactory.java:509)	at battlecode.instrumenter.TeamClassLoaderFactory$Loader.loadClass(TeamClassLoaderFactory.java:430)	at battlecode.instrumenter.SandboxedRobotPlayer.loadAndRunPlayer(SandboxedRobotPlayer.java:238)	at battlecode.instrumenter.SandboxedRobotPlayer.lambda$new$2(SandboxedRobotPlayer.java:180)	at java.lang.Thread.run(Thread.java:745)