Bug - Cannot Reproduce Unexpected errors while drinking a dry martini

Jar of Jam

Member
Version: r8714
Situation: End of the day, no adventures, overdrinking.

gCLI output:
Code:
Verifying ingredients for dry martini (1)...
Creating dry martini (1)...
You acquire an item: dry martini
Unexpected error, debug log printed.
Successfully created dry martini (1)
Drinking 1 dry martini...
You gain 5 Adventures
You gain 10 Sarcasm
You gain a Moxie point!
You gain 3 Drunkenness
Unexpected error, debug log printed.
Finished drinking 1 dry martini.

Debug output:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v14.3 r8714, Windows XP, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Tue Nov 23 03:19:45 EET 2010
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at javax.swing.text.Utilities.isComposedTextElement(Unknown Source)
	at javax.swing.text.AbstractDocument.handleRemove(Unknown Source)
	at javax.swing.text.AbstractDocument.remove(Unknown Source)
	at javax.swing.JEditorPane.setText(Unknown Source)
	at net.sourceforge.kolmafia.swingui.RequestFrame.refreshStatus(RequestFrame.java:438)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1092)
	at net.sourceforge.kolmafia.request.CharPaneRequest.run(CharPaneRequest.java:127)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:1870)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1744)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1439)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1177)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1068)
	at net.sourceforge.kolmafia.request.CreateItemRequest.combineItems(CreateItemRequest.java:572)
	at net.sourceforge.kolmafia.request.CreateItemRequest.run(CreateItemRequest.java:414)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:73)
	at net.sourceforge.kolmafia.session.InventoryManager.retrieveItem(InventoryManager.java:573)
	at net.sourceforge.kolmafia.session.InventoryManager.retrieveItem(InventoryManager.java:208)
	at net.sourceforge.kolmafia.request.UseItemRequest.run(UseItemRequest.java:830)
	at net.sourceforge.foxtrot.AbstractWorkerThread$AbstractWorkerAction.run(AbstractWorkerThread.java:84)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:41)
	at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:235)
	at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:216)
	at java.lang.Thread.run(Unknown Source)


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v14.3 r8714, Windows XP, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Please note: do not post this log in the KoLmafia thread. If you
 would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Timestamp: Tue Nov 23 03:19:47 EET 2010
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at javax.swing.text.Utilities.isComposedTextElement(Unknown Source)
	at javax.swing.text.AbstractDocument.handleRemove(Unknown Source)
	at javax.swing.text.AbstractDocument.remove(Unknown Source)
	at javax.swing.JEditorPane.setText(Unknown Source)
	at net.sourceforge.kolmafia.swingui.RequestFrame.refreshStatus(RequestFrame.java:438)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1092)
	at net.sourceforge.kolmafia.request.CharPaneRequest.run(CharPaneRequest.java:127)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:1870)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1744)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1439)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1177)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1068)
	at net.sourceforge.kolmafia.request.UseItemRequest.useOnce(UseItemRequest.java:1377)
	at net.sourceforge.kolmafia.request.UseItemRequest.run(UseItemRequest.java:917)
	at net.sourceforge.foxtrot.AbstractWorkerThread$AbstractWorkerAction.run(AbstractWorkerThread.java:84)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:41)
	at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:235)
	at net.sourceforge.foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:216)
	at java.lang.Thread.run(Unknown Source)
 
Considering this is an older version of kolmafia i am guessing its fixed but to double check i am repeating the use

> drink dry martini

Since you are not in a Moxie sign, you may not visit the brewery.
Drinking 1 dry martini...
You gain 9 Adventures
You gain 9 Sarcasm
You gain 3 Drunkenness
Finished drinking 1 dry martini.


Ok yes it seems fine if you update to the latest version.. Why are you using outdated version?
 

Winterbay

Active member
There's no difference what so ever between starting Mafia with the exe-build and the jar-builds. YOu can safely update to a .jar-buiild and use that. Just put it in the same folder as you have your .exe-file and double click on it.
 

Veracity

Developer
Staff member
You got some sort of Swing error. Not reproducible...

Verifying ingredients for dry martini (1)...
Creating dry martini (1)...
You acquire an item: dry martini
Successfully created dry martini (1)
Drinking 1 dry martini...
You gain 10 Adventures
You gain 8 Cheek
You gain 3 Drunkenness
You lose some of an effect: Ode to Booze
Finished drinking 1 dry martini.
 
Top