Bug - Fixed "goal set 37 moxie" causes ArrayOutOfBoundsException

picklish

Member
This is caused by r9139. Rolling back to r9138 fixes the issue.

Callstack:

class java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1
at net.sourceforge.kolmafia.AdventureResult.toConditionString(AdventureResult.java:713)
at net.sourceforge.kolmafia.session.GoalManager.getGoalString(GoalManager.java:47)
at net.sourceforge.kolmafia.swingui.panel.AdventureSelectPanel.fillCurrentConditions(AdventureSelectPanel.java:866)
at net.sourceforge.kolmafia.swingui.panel.AdventureSelectPanel$ConditionChangeListener.intervalAdded(AdventureSelectPanel.java:674)
at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:147)
at net.java.dev.spellcast.utilities.LockableListModel.fireIntervalAdded(LockableListModel.java:208)
at net.java.dev.spellcast.utilities.LockableListModel.addVisibleElement(LockableListModel.java:272)
at net.java.dev.spellcast.utilities.LockableListModel.addVisibleElement(LockableListModel.java:243)
at net.java.dev.spellcast.utilities.LockableListModel.add(LockableListModel.java:238)
at net.java.dev.spellcast.utilities.SortedListModel.add(SortedListModel.java:86)
at net.sourceforge.kolmafia.AdventureResult.addResultToList(AdventureResult.java:834)
at net.sourceforge.kolmafia.session.GoalManager.addGoal(GoalManager.java:85)
at net.sourceforge.kolmafia.session.GoalManager.setGoal(GoalManager.java:147)
at net.sourceforge.kolmafia.textui.command.ConditionsCommand.update(ConditionsCommand.java:123)
at net.sourceforge.kolmafia.textui.command.ConditionsCommand.run(ConditionsCommand.java:82)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:538)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:412)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:194)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:175)
 

slyz

Developer
14.4 came out right before KoL changed the account menu and api.php. 14.4.1 was going to be a quick release to replace the already outdated 14.4.
 
Top