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.
[NB 5.5 build #200604190200] I saved the form file and the following exception appeared in exception dialog (it is not reproducible, just appeared once): ava.lang.NullPointerException at javax.swing.text.View.modelToView(View.java:649) at org.netbeans.editor.view.spi.LockView.modelToView(LockView.java:406) at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1440) at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:1085) at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:1064) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$1$1.run(HyperlinkOperation.java:277) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1126) [catch] at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$1.run(HyperlinkOperation.java:272) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:182) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
*** Issue 76882 has been marked as a duplicate of this issue. ***
*** Issue 77829 has been marked as a duplicate of this issue. ***
Unfortunately I'm unable to reproduce. Anyway looks like the 's0' variable in View.modelToView() is possibly null for some reason i.e. the line Shape s0 = modelToView(p0, a, b0); returns null. I've looked to the impl in GapBoxView and it may return null in some generally illegal states (in a similar way like BoxView in swing does) but we should find the real culprit first by being able to reproduce the problem first.
*** Issue 83045 has been marked as a duplicate of this issue. ***
Should already be fixed. *** This issue has been marked as a duplicate of 117317 ***