exception in 2.2.0

Jump to navigation Jump to search

exception in 2.2.0

Been running a lot of tests vs DrussGT 2.2.0 lately and I just noticed an exception I've hit twice along the way (in the data dir). Probably over a few thousand battles or so.

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at jk.mega.dGun.DrussGunDC.onScannedRobot(DrussGunDC.java:254)
        at jk.mega.DrussGT.onScannedRobot(DrussGT.java:266)
        at robocode.ScannedRobotEvent.dispatch(ScannedRobotEvent.java:297)
        at robocode.Event$HiddenEventHelper.dispatch(Event.java:244)
        at net.sf.robocode.security.HiddenAccess.dispatch(HiddenAccess.java:194)
        at net.sf.robocode.host.events.EventManager.dispatch(EventManager.java:487)
        at net.sf.robocode.host.events.EventManager.processEvents(EventManager.java:460)
        at net.sf.robocode.host.proxies.BasicRobotProxy.executeImpl(BasicRobotProxy.java:413)
        at net.sf.robocode.host.proxies.BasicRobotProxy.execute(BasicRobotProxy.java:123)
        at robocode.AdvancedRobot.execute(AdvancedRobot.java:565)
        at jk.mega.DrussGT.run(DrussGT.java:156)
        at net.sf.robocode.host.proxies.HostingRobotProxy.run(HostingRobotProxy.java:220)
        at java.lang.Thread.run(Thread.java:680)
Voidious02:57, 22 September 2011

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:DrussGT/NPE in 2.2.0/reply.