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 Oracle Community by 807587, 1 year ago
Attempt to mutate in notification
via Oracle Community by 807587, 1 year ago
Attempt to mutate in notification
via Oracle Community by 807587, 1 year ago
Attempt to mutate in notification
via Stack Overflow by user2102972
, 1 year ago
via Oracle Community by 807582, 1 year ago
Attempt to mutate in notification
via Stack Overflow by flexwang
, 2 years ago
java.lang.IllegalStateException: Attempt to mutate in notification	at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1336)	at javax.swing.text.DefaultStyledDocument.setCharacterAttributes(DefaultStyledDocument.java:338)	at dbtool.TextPaneWithPopup.caretUpdate(TextPaneWithPopup.java:255)	at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:336)	at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:3137)	at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:3159)	at javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:638)	at javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1010)	at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:918)	at javax.swing.text.DefaultCaret.setDot(DefaultCaret.java:899)	at javax.swing.text.DefaultCaret$UpdateHandler.insertUpdate(DefaultCaret.java:1453)	at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184)	at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749)	at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:706)	at javax.swing.JTextPane.replaceSelection(JTextPane.java:189)	at javax.swing.JTextPane.replaceSelection(JTextPane.java:153)	at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:839)	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)	at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)	at javax.swing.JComponent.processKeyBindings(JComponent.java:2470)	at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)	at java.awt.Component.processEvent(Component.java:4943)	at java.awt.Container.processEvent(Container.java:1566)	at java.awt.Component.dispatchEventImpl(Component.java:3639)	at java.awt.Container.dispatchEventImpl(Container.java:1623)	at java.awt.Component.dispatchEvent(Component.java:3480)	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)	at java.awt.Component.dispatchEventImpl(Component.java:3509)	at java.awt.Container.dispatchEventImpl(Container.java:1623)	at java.awt.Window.dispatchEventImpl(Window.java:1590)	at java.awt.Component.dispatchEvent(Component.java:3480)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)