javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location

Oracle Community | 807587 | 1 decade ago
  1. 0

    StateInvariantError on Linux but not XP

    Oracle Community | 1 decade ago | 807587
    javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location
  2. 0

    How to change the Element structure of a DefaultSyledDocument

    Oracle Community | 1 decade ago | 843805
    javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location
  3. 0

    JTextPane in JTable gives StateInvariantError. Why?

    Google Groups | 2 decades ago | Gerald B. Rosenberg
    javax.swing.text.StateInvariantError: infinite loop in formatting
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JEditorPane POST [1.5.0]

    Oracle Community | 1 decade ago | 843804
    javax.swing.text.StateInvariantError: Illegal cast to MutableAttributeSet
  6. 0

    JTextPane - problems

    Oracle Community | 1 decade ago | 807582
    javax.swing.text.StateInvariantError: infinite loop in formatting

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.swing.text.StateInvariantError

      GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location

      at javax.swing.text.GlyphView.getText()
    2. Java RT
      EventDispatchThread.run
      1. javax.swing.text.GlyphView.getText(GlyphView.java:106)
      2. javax.swing.text.GlyphPainter1.paint(GlyphPainter1.java:95)
      3. javax.swing.text.GlyphView.paintTextUsingColor(GlyphView.java:439)
      4. javax.swing.text.GlyphView.paint(GlyphView.java:430)
      5. javax.swing.text.BoxView.paintChild(BoxView.java:144)
      6. javax.swing.text.BoxView.paint(BoxView.java:407)
      7. javax.swing.text.BoxView.paintChild(BoxView.java:144)
      8. javax.swing.text.BoxView.paint(BoxView.java:407)
      9. javax.swing.text.ParagraphView.paint(ParagraphView.java:569)
      10. javax.swing.text.html.ParagraphView.paint(ParagraphView.java:220)
      11. javax.swing.text.BoxView.paintChild(BoxView.java:144)
      12. javax.swing.text.BoxView.paint(BoxView.java:407)
      13. javax.swing.text.html.BlockView.paint(BlockView.java:264)
      14. javax.swing.text.BoxView.paintChild(BoxView.java:144)
      15. javax.swing.text.BoxView.paint(BoxView.java:407)
      16. javax.swing.text.html.BlockView.paint(BlockView.java:264)
      17. javax.swing.text.BoxView.paintChild(BoxView.java:144)
      18. javax.swing.text.BoxView.paint(BoxView.java:407)
      19. javax.swing.text.html.BlockView.paint(BlockView.java:264)
      20. javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1319)
      21. javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:636)
      22. javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:770)
      23. javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:749)
      24. javax.swing.JComponent.paintComponent(JComponent.java:541)
      25. javax.swing.JComponent.paint(JComponent.java:808)
      26. javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
      27. javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
      28. javax.swing.JComponent._paintImmediately(JComponent.java:4685)
      29. javax.swing.JComponent.paintImmediately(JComponent.java:4488)
      30. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
      31. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
      32. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      33. java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
      34. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      35. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      37. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      38. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      38 frames