Bug - Fixed Pause object in event dispatch thread

I haven't seen this behavior on r9945 on Mac OS X, using Java 6... what revision of KoLmafia were you using at the time?
 

lostcalpolydude

Developer
Staff member
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Lost>java -version
java version "1.6.0_23-ea"
Java(TM) SE Runtime Environment (build 1.6.0_23-ea-b01)
OpenJDK 64-Bit Server VM (build 19.0-b06, mixed mode)

C:\Users\Lost>
I tried updating to Java 7 to test stuff like holatuwol asked for, but the installation kept failing. If this is a case of messed up java on my end, then perhaps I should tear all of the java stuff out of here and start over.
 

Winterbay

Active member
I get it for all buttons I click on in the item manager. Debug log attached.

There may be other stuff in the file as well, but I haven't seen any "debug log printed" in the CLI so possibly not.
 
I also had this problem in the Item Manager after I had queued up some drinks and clicked "consume". r9946

Verifying ingredients for grogtini (1)...
Verifying ingredients for skewered lime (1)...
Creating skewered lime (1)...
You acquire an item: skewered lime
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created skewered lime (1)
Verifying ingredients for grog (1)...
Verifying ingredients for bottle of rum (1)...
Using cached search results for fermenting powder...
Putting on Travoltan trousers...
Pause object in event dispatch thread
Pause object in event dispatch thread
Equipment changed.
Purchasing fermenting powder (1 @ 66)...
You acquire an item: fermenting powder
You spent 66 Meat
Pause object in event dispatch thread
Pause object in event dispatch thread
Purchases complete.
Creating bottle of rum (1)...
You acquire bottle of rum (3)
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created bottle of rum (3)
Creating grog (1)...
You acquire an item: grog
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created grog (1)
Creating grogtini (1)...
You acquire an item: grogtini
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created grogtini (1)
Drinking 1 grogtini...
You gain 28 Adventures
You gain 20 Strongness
You acquire an item: tiny plastic sword
You gain 6 Drunkenness
You lose some of an effect: Ode to Booze
Pause object in event dispatch thread
Pause object in event dispatch thread
Finished drinking 1 grogtini.
Verifying ingredients for grogtini (1)...
Verifying ingredients for skewered lime (1)...
Creating skewered lime (1)...
You acquire an item: skewered lime
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created skewered lime (1)
Verifying ingredients for grog (1)...
Creating grog (1)...
You acquire an item: grog
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created grog (1)
Creating grogtini (1)...
You acquire an item: grogtini
Pause object in event dispatch thread
Pause object in event dispatch thread
Successfully created grogtini (1)
Drinking 1 grogtini...
You gain 31 Adventures
You gain 25 Muscleboundness
You acquire an item: tiny plastic sword
You gain 6 Drunkenness
You lose some of an effect: Ode to Booze
Pause object in event dispatch thread
Pause object in event dispatch thread
Finished drinking 1 grogtini.
Drinking 2 distilled fortified wine...
You gain 6 Adventures
You gain 8 Beefiness
You gain 6 Mysteriousness
You gain 6 Roguishness
You gain 1 Drunkenness
You lose some of an effect: Ode to Booze
You gain 7 Adventures
You gain 8 Beefiness
You gain 5 Enchantedness
You gain 5 Cheek
You gain 1 Drunkenness
You lose some of an effect: Ode to Booze
Pause object in event dispatch thread
Pause object in event dispatch thread
Finished drinking 2 distilled fortified wine.
Putting on stinky cheese diaper...
Pause object in event dispatch thread
Pause object in event dispatch thread
Equipment changed.
 
Last edited:

zarqon

Well-known member
I can easily reproduce this error -- I get it whenever I try to close mafia by clicking the 'X' button, in both Windows and Linux. One of my debug logs approached 250MB!
 

zarqon

Well-known member
The window's Close button, which in Windows XP and Ubuntu has an X on it. Due to time restraints, I often end up needing to close mafia without waiting for it to finish its logout procedure. I could attach a debug log if you like, but it would be quite large and I think you can easily reproduce it on your side.
 

slyz

Developer
I got a "Pause object in event dispatch thread" debug log, although I'm not sure when exactly:

Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
         KoLmafia v14.8 r9957, Windows XP, Java 1.6.0_24
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Wed Nov 02 23:37:22 CET 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Pause object in event dispatch thread
class java.lang.Exception: Pause object in event dispatch thread
java.lang.Exception: Pause object in event dispatch thread
	at net.sourceforge.kolmafia.StaticEntity.printStackTrace(StaticEntity.java:339)
	at net.sourceforge.kolmafia.utilities.PauseObject.pause(PauseObject.java:74)
	at net.sourceforge.kolmafia.webui.RelayLoader.startRelayServer(RelayLoader.java:134)
	at net.sourceforge.kolmafia.webui.RelayLoader.<init>(RelayLoader.java:60)
	at net.sourceforge.kolmafia.webui.RelayLoader.openSystemBrowser(RelayLoader.java:170)
	at net.sourceforge.kolmafia.webui.RelayLoader.openSystemBrowser(RelayLoader.java:165)
	at net.sourceforge.kolmafia.swingui.ChatFrame$ChatLinkClickedListener.handleInternalLink(ChatFrame.java:533)
	at net.sourceforge.kolmafia.swingui.listener.HyperlinkAdapter.hyperlinkUpdate(HyperlinkAdapter.java:91)
	at javax.swing.JEditorPane.fireHyperlinkUpdate(Unknown Source)
	at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(Unknown Source)
	at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Pause object in event dispatch thread
 

brianjbatchelor

New member
I am getting these errors, and at the same time, seem to be being logged out rather regularly. It is not obvious, as I was playing in the relay browser, but after a few actions, anything that hit multiuse.php started doing nothing or causing a brief flicker at the top of the page where "Loading Results" normally occurs. I beleive this was because I had been logged out, and when a new command came in, mafia logged me back in, but the use links all had an outdated PW hash. Where should I be looking for something that logs me out regularly?

Just updated to Java 7, running 9956 updated to 9958 mid tests, 64 Bit Win 7

Debug log:
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
          KoLmafia v14.8 r9956, Windows 7, Java 1.7.0_01
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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: Thu Nov 03 16:01:23 CDT 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Pause object in event dispatch thread
class java.lang.Exception: Pause object in event dispatch thread
java.lang.Exception: Pause object in event dispatch thread
	at net.sourceforge.kolmafia.StaticEntity.printStackTrace(StaticEntity.java:339)
	at net.sourceforge.kolmafia.utilities.PauseObject.pause(PauseObject.java:74)
	at net.sourceforge.kolmafia.webui.RelayLoader.startRelayServer(RelayLoader.java:134)
	at net.sourceforge.kolmafia.KoLDesktop.initializeTabs(KoLDesktop.java:210)
	at net.sourceforge.kolmafia.KoLDesktop.getInstance(KoLDesktop.java:257)
	at net.sourceforge.kolmafia.KoLDesktop$DisplayDesktopRunnable.run(KoLDesktop.java:498)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Pause object in event dispatch thread

CLI:
Code:
Password hash mismatch
Path: "/inv_use.php?pwd==3&whichitem=4502&ajax=1&_=1320353 617054"
Validating login server (www.kingdomofloathing.com)...
926 players online.
Sending login request...
Synchronizing moon data...
Requests complete.

Validating login server (www.kingdomofloathing.com)...
926 players online.
Sending login request...
Synchronizing moon data...
Requests complete.

You have the maximum number of AT buffs already.
You acquire an effect: Donho's Bubbly Ballad (duration: 60 Adventures)
Validating login server (www.kingdomofloathing.com)...
925 players online.
Sending login request...
Synchronizing moon data...
Requests complete.

Validating login server (www.kingdomofloathing.com)...
925 players online.
Sending login request...
Synchronizing moon data...
Requests complete.
 

holatuwol

Developer
Okay, the relay-browser related stuff should be fixed. I'm hoping that's the last of it, but if you still see some debug logs after 9977, please let me know.
 

zarqon

Well-known member
The error on closing the window no longer occurs for me as of this update. Thanks Hola!
 

zarqon

Well-known member
I didn't really have time for foruming during Crimbo, but I've still been getting frequent debug logs with NullPointerExceptions when I close mafia, some of them quite large. I assumed this was still something hola was debugging as part of FoxTrot removal. It's not quite the same error message as previously, so is that a separate issue? Would you like me to post one of the logs?
 
Top