hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
no arrays of strings?

 
Reply to topic    hacker.org Forum Index » BitBath View previous topic
View next topic
no arrays of strings?
Author Message
ernie



Joined: 22 Apr 2007
Posts: 14

Post no arrays of strings? Reply with quote
arrays of String aren't allowed yet? uncommenting this line causes an exception:

public String[] faction2eng={"ME","HIM","NEUTRAL"};



ojvm.util.BadDescriptorE: java/lang/String
at ojvm.util.Descriptor.<init>(Descriptor.java:81)
at ojvm.util.Descriptor.<init>(Descriptor.java:76)
at ojvm.operations.BytecodeInterpreter.visit_anewarray(BytecodeInterpreter.java:2179)
at ojvm.loading.instructions.Ins_anewarray.accept(Ins_anewarray.java:31)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.initClass(HackVMWarSpinalCord.java:82)
at org.hacker.engine.war.HackVMWarSpinalCord.<init>(HackVMWarSpinalCord.java:54)
at org.hacker.engine.war.HackVMWarSpinalCordFactory.createSpinalCord(HackVMWarSpinalCordFactory.java:42)
at org.hacker.engine.war.Faction.addUnit(Faction.java:44)
at org.hacker.engine.war.order.BuildOrder.execute(BuildOrder.java:53)
at org.hacker.engine.war.unit.Unit.advance(Unit.java:82)
at org.hacker.engine.war.WarModel.step(WarModel.java:77)
at org.hacker.engine.GameUI.stepToIt(GameUI.java:166)
at org.hacker.engine.GameUI$5.run(GameUI.java:99)
Exception in thread "Thread-4" java.lang.Error: Bug
at ojvm.operations.BytecodeInterpreter.visit_anewarray(BytecodeInterpreter.java:2189)
at ojvm.loading.instructions.Ins_anewarray.accept(Ins_anewarray.java:31)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.initClass(HackVMWarSpinalCord.java:82)
at org.hacker.engine.war.HackVMWarSpinalCord.<init>(HackVMWarSpinalCord.java:54)
at org.hacker.engine.war.HackVMWarSpinalCordFactory.createSpinalCord(HackVMWarSpinalCordFactory.java:42)
at org.hacker.engine.war.Faction.addUnit(Faction.java:44)
at org.hacker.engine.war.order.BuildOrder.execute(BuildOrder.java:53)
at org.hacker.engine.war.unit.Unit.advance(Unit.java:82)
at org.hacker.engine.war.WarModel.step(WarModel.java:77)
at org.hacker.engine.GameUI.stepToIt(GameUI.java:166)
at org.hacker.engine.GameUI$5.run(GameUI.java:99)
ojvm.util.BadDescriptorE: java/lang/String
at ojvm.util.Descriptor.<init>(Descriptor.java:81)
at ojvm.util.Descriptor.<init>(Descriptor.java:76)
at ojvm.operations.BytecodeInterpreter.visit_anewarray(BytecodeInterpreter.java:2179)
at ojvm.loading.instructions.Ins_anewarray.accept(Ins_anewarray.java:31)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.initClass(HackVMWarSpinalCord.java:82)
at org.hacker.engine.war.HackVMWarSpinalCord.<init>(HackVMWarSpinalCord.java:54)
at org.hacker.engine.war.HackVMWarSpinalCordFactory.createSpinalCord(HackVMWarSpinalCordFactory.java:42)
at org.hacker.engine.war.Faction.addUnit(Faction.java:44)
at org.hacker.engine.war.order.BuildOrder.execute(BuildOrder.java:53)
at org.hacker.engine.war.unit.Unit.advance(Unit.java:82)
at org.hacker.engine.war.WarModel.step(WarModel.java:77)
at org.hacker.engine.GameUI.stepToIt(GameUI.java:166)
at org.hacker.engine.GameUI$5.run(GameUI.java:99)
Exception in thread "Thread-5" java.lang.Error: Bug
at ojvm.operations.BytecodeInterpreter.visit_anewarray(BytecodeInterpreter.java:2189)
at ojvm.loading.instructions.Ins_anewarray.accept(Ins_anewarray.java:31)
at ojvm.machine.ControlUnit.run(ControlUnit.java:169)
at org.hacker.engine.war.HackVMWarSpinalCord.initClass(HackVMWarSpinalCord.java:82)
at org.hacker.engine.war.HackVMWarSpinalCord.<init>(HackVMWarSpinalCord.java:54)
at org.hacker.engine.war.HackVMWarSpinalCordFactory.createSpinalCord(HackVMWarSpinalCordFactory.java:42)
at org.hacker.engine.war.Faction.addUnit(Faction.java:44)
at org.hacker.engine.war.order.BuildOrder.execute(BuildOrder.java:53)
at org.hacker.engine.war.unit.Unit.advance(Unit.java:82)
at org.hacker.engine.war.WarModel.step(WarModel.java:77)
at org.hacker.engine.GameUI.stepToIt(GameUI.java:166)
at org.hacker.engine.GameUI$5.run(GameUI.java:99)
Wed Nov 21, 2007 1:59 pm View user's profile Send private message Visit poster's website AIM Address
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
hmmn, i'll look into this...

adum
Thu Nov 22, 2007 6:23 am View user's profile Send private message Visit poster's website
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
shoudl work now
Sat Dec 08, 2007 8:23 pm View user's profile Send private message Visit poster's website
superhackerorg



Joined: 22 Mar 2009
Posts: 1

Post Reply with quote
worls

_________________
super hacker
Sun Mar 22, 2009 6:17 pm View user's profile Send private message Visit poster's website AIM Address
treader



Joined: 25 Mar 2009
Posts: 82
Location: mumbai

Post Reply with quote
where is this supposed to be used in. Question Question Question Question Question Question Question

_________________
TREADER
TREADER
TREADER
TREADER
TREADER
TREADER
Wed Mar 25, 2009 5:22 pm View user's profile Send private message Send e-mail
Display posts from previous:    
Reply to topic    hacker.org Forum Index » BitBath All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.