javax.swing.text.BadLocationException: Invalid remove

Oracle Community | 807577 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BadLocationException using JEditorPane, htemeditorkit

    Oracle Community | 1 decade ago | 807577
    javax.swing.text.BadLocationException: Invalid remove

    Root Cause Analysis

    1. javax.swing.text.BadLocationException

      Invalid remove

      at javax.swing.text.GapContent.remove()
    2. Java RT
      GapContent.remove
      1. javax.swing.text.GapContent.remove(GapContent.java:127)
      1 frame
    3. DHTML
      test.main
      1. DHTML.Item.removeElements(Item.java:37)
      2. DHTML.test.main(test.java:45)
      2 frames