Bug - Fixed Simultaneous operation(?) error while eating a fortune cookie

Lilac

Member
Just ate a fortune cookie from the CLI, which resulted in:

Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 3 Adventures
You gain 1 Fullness
You lose an effect: Song of the Glorious Lunch
Unexpected error, debug log printed.
Finished eating 1 fortune cookie.

Debug log is below. I wasn't able to salvage any of my numbers, unfortunately. I am on KoLmafia v15.1 r10949, using Windows 7 64-bit and Java 1.6.0_30.

Code:
Unexpected error, debug log printed.
class java.util.ConcurrentModificationException: null
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
	at java.util.AbstractList$Itr.next(Unknown Source)
	at java.util.Collections.sort(Unknown Source)
	at net.java.dev.spellcast.utilities.LockableListModel.sort(LockableListModel.java:146)
	at net.sourceforge.kolmafia.request.EatItemRequest.parseConsumption(EatItemRequest.java:567)
	at net.sourceforge.kolmafia.request.UseItemRequest.parseConsumption(UseItemRequest.java:1443)
	at net.sourceforge.kolmafia.request.UseItemRequest.processResults(UseItemRequest.java:1312)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:2087)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1983)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1664)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1391)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1284)
	at net.sourceforge.kolmafia.request.UseItemRequest.runOneIteration(UseItemRequest.java:1250)
	at net.sourceforge.kolmafia.request.EatItemRequest.useOnce(EatItemRequest.java:237)
	at net.sourceforge.kolmafia.request.EatItemRequest.run(EatItemRequest.java:190)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:221)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:184)
	at net.sourceforge.kolmafia.textui.command.UseItemCommand.use(UseItemCommand.java:210)
	at net.sourceforge.kolmafia.textui.command.UseItemCommand.run(UseItemCommand.java:73)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:548)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:501)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:402)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:270)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:181)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:155)
 

lostcalpolydude

Developer
Staff member
I got this when eating a papaya taco through the CLI, so it isn't fortune cookie processing specifically. It happened right after I got a notification about being pvp attacked; I have no idea if that might be related.
 
Top