javax.swing.text.StateInvariantError

GlyphView: Stale view: javax.swing.text.BadLocationException: Length must be positive

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Unknown by 807587,
  • via Unknown by 843805,
  • via GitHub by koppor
    ,
  • Stack trace

    • javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Length must be positive at javax.swing.text.GlyphView.getText(Unknown Source) at javax.swing.text.GlyphPainter1.getSpan(Unknown Source) at javax.swing.text.GlyphView.getPreferredSpan(Unknown Source) at javax.swing.text.FlowView$LogicalView.getPreferredSpan(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.