This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
While running the IDE under jdk1.4: Open the welcome panel by selecting "Help | Welcome Panel". Move the mouse cursor over "Update Center" button. When the cursor is moved away from the button, the following error is thrown: *********** Exception occurred ************ javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Invalid location at javax.swing.text.GlyphView.getText(GlyphView.java:105) at javax.swing.text.GlyphPainter1.paint(GlyphPainter1.java:98) at javax.swing.text.GlyphView.paintTextUsingColor(GlyphView.java:398) at javax.swing.text.GlyphView.paint(GlyphView.java:389) at javax.swing.text.BoxView.paintChild(BoxView.java:147) at javax.swing.text.BoxView.paint(BoxView.java:411) at javax.swing.text.BoxView.paintChild(BoxView.java:147) at javax.swing.text.BoxView.paint(BoxView.java:411) at javax.swing.text.ParagraphView.paint(ParagraphView.java:571) at javax.swing.text.html.ParagraphView.paint(ParagraphView.java:214) at javax.swing.text.BoxView.paintChild(BoxView.java:147) at javax.swing.text.BoxView.paint(BoxView.java:411) at javax.swing.text.html.BlockView.paint(BlockView.java:251) at javax.swing.text.BoxView.paintChild(BoxView.java:147) at javax.swing.text.BoxView.paint(BoxView.java:411) at javax.swing.text.html.BlockView.paint(BlockView.java:251) at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1251) at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:568) at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:702) at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:681) at javax.swing.JComponent.paintComponent(JComponent.java:492) at javax.swing.JComponent.paint(JComponent.java:759) at javax.swing.JViewport.paintViewDoubleBuffered(JViewport.java:1630) at javax.swing.JViewport.paintView(JViewport.java:1606) at javax.swing.JViewport.flushViewDirtyRegion(JViewport.java:1463) at javax.swing.JViewport.setViewPosition(JViewport.java:1055) at javax.swing.JViewport.scrollRectToVisible(JViewport.java:393) at javax.swing.JComponent.scrollRectToVisible(JComponent.java:2581) at javax.swing.text.DefaultCaret.adjustVisibility(DefaultCaret.java:196) at javax.swing.text.DefaultCaret.repaintNewCaret(DefaultCaret.java:1045) at javax.swing.text.DefaultCaret$1.run(DefaultCaret.java:1019) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:176) at java.awt.EventQueue.dispatchEvent(EventQueue.java:446) [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Hmm, only swing code involved. IMHO there isn't many things we can do better, looks like problem in swing.text. Reassigning to the owner of Welcome screen.
x
This bug is duplicate of Issue #13643 However the problem was in JDK_1.4 which is now fixed (as of build #76). *** This issue has been marked as a duplicate of 13643 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.