java.lang.IllegalStateException: Attempt to mutate in notification

Oracle Community | 807554 | 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

    line wrap.

    Oracle Community | 1 decade ago | 807554
    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
      JTextArea.append
      1. javax.swing.text.AbstractDocument.writeLock(Unknown Source)
      2. javax.swing.text.AbstractDocument.insertString(Unknown Source)
      3. javax.swing.JTextArea.append(Unknown Source)
      3 frames
    3. Unknown
      UpdateResource$MyDocumentListener.insertUpdate
      1. UpdateResource$MyDocumentListener.updateLog(UpdateResource.java:191)
      2. UpdateResource$MyDocumentListener.insertUpdate(UpdateResource.java:176)
      2 frames
    4. Java RT
      DefaultEditorKit$DefaultKeyTypedAction.actionPerformed
      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)
      4 frames