javax.swing.text.BadLocationException: Invalid remove

Oracle Community | 807577 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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