java.lang.IllegalStateException: Attempt to mutate in notification

Oracle Community | 807594 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Attributes for insertString() on DefaultStyledDocument

    Oracle Community | 1 decade ago | 807594
    java.lang.IllegalStateException: Attempt to mutate in notification
  2. 0

    updating document in JTextPane

    Google Groups | 2 decades ago | Anton An
    java.lang.IllegalStateException: Attempt to mutate in notification
  3. 0

    Why i got this exception...

    Oracle Community | 1 decade ago | 843805
    java.lang.IllegalStateException: Attempt to mutate in notification
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JTextPane Text Coloring

    Oracle Community | 2 decades ago | 807582
    java.lang.IllegalStateException: Attempt to mutate in notification

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Attempt to mutate in notification

      at javax.swing.text.AbstractDocument.writeLock()
    2. Java RT
      AbstractDocument.insertString
      1. javax.swing.text.AbstractDocument.writeLock(Unknown Source)
      2. javax.swing.text.AbstractDocument.insertString(Unknown Source)
      2 frames
    3. Unknown
      Cheat3$MyDocumentListener.insertUpdate
      1. Cheat3$MyDocumentListener.insertUpdate(Cheat3.java:213)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
      2. javax.swing.text.AbstractDocument.insertString(Unknown Source)
      3. javax.swing.text.JTextComponent.replaceSelection(Unknown Source)
      4. javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(Unknown Source)
      5. javax.swing.SwingUtilities.notifyAction(Unknown Source)
      6. javax.swing.JComponent.processKeyBinding(Unknown Source)
      7. javax.swing.JComponent.processKeyBindings(Unknown Source)
      8. javax.swing.JComponent.processKeyEvent(Unknown Source)
      9. javax.swing.JTextArea.processKeyEvent(Unknown Source)
      10. javax.swing.text.JTextComponent.replaceInputMethodText(Unknown Source)
      11. javax.swing.text.JTextComponent.processInputMethodEvent(Unknown Source)
      12. java.awt.Component.processEvent(Unknown Source)
      13. java.awt.Container.processEvent(Unknown Source)
      14. java.awt.Component.dispatchEventImpl(Unknown Source)
      15. java.awt.Container.dispatchEventImpl(Unknown Source)
      16. java.awt.Component.dispatchEvent(Unknown Source)
      17. java.awt.EventQueue.dispatchEvent(Unknown Source)
      18. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      19. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      20. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      21. java.awt.EventDispatchThread.run(Unknown Source)
      21 frames