Bug - Fixed Debug logs on maximization

Theraze

Active member
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.3 r14515, Windows 8, Java 1.7.0_09
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread of KoL's
Gameplay-Discussion forum. If you would like the KoLmafia dev team
to look at it, please write a bug report at kolmafia.us. Include
specific information about what you were doing when you made this
and include this log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Fri Aug 29 17:36:17 PDT 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at net.sourceforge.kolmafia.maximizer.Evaluator.enumerateEquipment(Evaluator.java:1616)
at net.sourceforge.kolmafia.maximizer.Maximizer.maximize(Maximizer.java:168)
at net.sourceforge.kolmafia.maximizer.Maximizer.maximize(Maximizer.java:114)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.maximize(RuntimeLibrary.java:5398)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.maximize(RuntimeLibrary.java:5388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:106)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:377)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:325)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:318)
at net.sourceforge.kolmafia.textui.command.AshSingleLineCommand.run(AshSingleLineCommand.java:73)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:596)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:318)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:190)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:164)
Happens on certain characters (some, not others) every time they try to maximize.
 

Veracity

Developer
Staff member
Done via the CLI doing a "maximize" function.

I don't suppose you'd choose to share the actual command?
 

Darzil

Developer
I guess it's characters with few things to equip. I see the issue and will fix it. I didn't check that you had enough items in the accessories array to fill all three accessories slots for the compare with outfits.
 

Theraze

Active member
Sorry, it happened on that character with maximize hp, maximize hp -current, maximize muscle, maximize moxie, maximize... everything I tried. Will see if 14517 fixed it and report back.
 
Top