Page 1 of 1

Simulator Crash

Posted: Mon Jun 09, 2008 8:35 pm
by Rotekian
This error seems to crash the simulator. Could well be related to my use of HashMap. Although switching one Vector to a HashMap reduced the number of individual bots that crashed.

Exception in thread "Thread-5" java.lang.Error: invokeinterface not implemented
at ojvm.operations.BytecodeInterpreter.visit_invokeinterface(BytecodeInterpreter.java:1554)
at ojvm.loading.instructions.Ins_invokeinterface.accept(Ins_invokeinterface.java:49)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.think(HackVMWarSpinalCord.java:137)
at org.hacker.engine.war.Faction.unitThink(Faction.java:192)
at org.hacker.engine.war.Faction.think(Faction.java:114)
at org.hacker.engine.war.WarModel.step(WarModel.java:77)
at org.hacker.engine.GameUI.stepToIt(GameUI.java:175)
at org.hacker.engine.GameUI$6.run(GameUI.java:108)

Posted: Mon Jun 09, 2008 8:41 pm
by adum
unfortunately the HackJVM doesn't support interfaces, it seems. we're going to be switching to the JoeQ vm at some point, hopefully.

sorry,
adum