java.lang.IllegalStateException: This function should be called while holding treeLock

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Ask Ubuntu by HarlemSquirrel
, 1 year ago
This function should be called while holding treeLock
via jabref by fhiguera
, 1 year ago
This function should be called while holding treeLock
via sourceforge.net by Unknown author, 2 years ago
This function should be called while holding treeLock
via jabref by lyshane
, 1 year ago
This function should be called while holding treeLock
via sourceforge.net by Unknown author, 2 years ago
This function should be called while holding treeLock
via netbeans.org by Unknown author, 11 months ago
java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Component.java:1196)
at java.awt.Container.validateTree(Container.java:1682)
at undefined.WbxComboBox.matchItemFont(WbxComboBox.java:188)
at undefined.WbxComboBox.setSelectedItem(WbxComboBox.java:170)
at undefined.ChatUI.setNonListItem(ChatUI.java:1142)
at undefined.ChatUI.updateSendToItems(ChatUI.java:1099)
at undefined.ChatUI.updateSendTo(ChatUI.java:895)
at undefined.simpleChat$1.run(simpleChat.java:310)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.