Bug - Cannot Reproduce maximizer caused "Unexpected error, debug log printed."

Bale

Minion
r14529: In a fresh ascension with only a little bit of equipment:

Code:
[COLOR="#808000"]> maximize mainstat, 0.2 hp, 0.2 dr, 0.1 spell damage, 4 Mysticality experience, mp regen, 0.2 familiar weight -familiar[/COLOR]

Maximizing...
Unexpected error, debug log printed.

I turned on "start debug log" before typing the above maximization string in the hopes it would produce a little extra information.

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v16.3 r14529, Windows XP, Java 1.7.0_55
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Mon Sep 01 02:09:22 EDT 2014
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


> maximize mainstat, 0.2 hp, 0.2 dr, 0.1 spell damage, 4 Mysticality experience, mp regen, 0.2 familiar weight -familiar

Maximizing...
Unexpected error, debug log printed.
class java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at net.sourceforge.kolmafia.maximizer.Evaluator.enumerateEquipment(Evaluator.java:1622)
	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.command.ModifierMaximizeCommand.run(ModifierMaximizeCommand.java:62)
	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)
 
Last edited:

Bale

Minion
Oh, I should mention that it does this for absolutely anything I try to maximize, even a simple thing like, "maximize HP" will end with the exact same debug log.

Is this related to the r14517 issue?
 

Darzil

Developer
r14532 I hope fixes it.

It was related to the r14517 issue, which I exactly failed to fix. I guess by the time Theraze tested more accessories were obtained.
 

Bale

Minion
Sadly I cannot test it now. My maximizer started to work properly around level 4 or 5. I guess I finally had enough gear. :(
 

Theraze

Active member
r14532 I hope fixes it.

It was related to the r14517 issue, which I exactly failed to fix. I guess by the time Theraze tested more accessories were obtained.

I don't THINK so, but it's possible. By my memory, the only place I adventured that day was the noob cave and I didn't acquire anything except more meat from the Cocoabo. But it's possible that I did actually get some other stuff before the quick turn-burn.
 
Top