strange error in non native mode
Posted: Mon Jun 02, 2008 5:26 am
i get this when debugging my bot in non native mode
2-Jun-2008 1:19:43 AM ojvm.machine.ControlUnit makeAndThrow
INFO: new exception: java.lang.VerifyError, msg: Can't convert Boolean to Int
failure to think: ojvm.data.JavaException null
ojvm.data.JavaException
at ojvm.operations.Exceptions.makeAndThrow(Exceptions.java:40)
at ojvm.machine.ControlUnit.makeAndThrow(ControlUnit.java:216)
at ojvm.operations.BytecodeInterpreter.visit_ifne(BytecodeInterpreter.java:1454)
at ojvm.loading.instructions.Ins_ifne.accept(Ins_ifne.java:27)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.build(HackVMWarSpinalCord.java:219)
at org.hacker.engine.war.Faction.cityThink(Faction.java:167)
at org.hacker.engine.war.Faction.think(Faction.java:111)
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)
Its not preventing my bot to behave correctly in any way, and im not getting any conversion (int to bool) error while in native.
I dont think its a serious error, but still i think you should look at it. This bot is the one i currently use so feel free to look if you do get the message too.
________
W108
2-Jun-2008 1:19:43 AM ojvm.machine.ControlUnit makeAndThrow
INFO: new exception: java.lang.VerifyError, msg: Can't convert Boolean to Int
failure to think: ojvm.data.JavaException null
ojvm.data.JavaException
at ojvm.operations.Exceptions.makeAndThrow(Exceptions.java:40)
at ojvm.machine.ControlUnit.makeAndThrow(ControlUnit.java:216)
at ojvm.operations.BytecodeInterpreter.visit_ifne(BytecodeInterpreter.java:1454)
at ojvm.loading.instructions.Ins_ifne.accept(Ins_ifne.java:27)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.build(HackVMWarSpinalCord.java:219)
at org.hacker.engine.war.Faction.cityThink(Faction.java:167)
at org.hacker.engine.war.Faction.think(Faction.java:111)
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)
Its not preventing my bot to behave correctly in any way, and im not getting any conversion (int to bool) error while in native.
I dont think its a serious error, but still i think you should look at it. This bot is the one i currently use so feel free to look if you do get the message too.
________
W108