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

    Remove Element from HTMLDocument doesn't work

    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.AbstractDocument.handleRemove()
    2. Java RT
      AbstractDocument.remove
      1. javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:589)
      2. javax.swing.text.AbstractDocument.remove(AbstractDocument.java:575)
      2 frames
    3. DHTML
      aaa.main
      1. DHTML.Item.removeElement(Item.java:65)
      2. DHTML.aaa.main(aaa.java:93)
      2 frames