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.
This bug was originally marked as duplicate of bug 213936, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18 OS: Linux Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutPainter.paintGaps(LayoutPainter.java:539) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.paintSelection(LayoutDesigner.java:1469) at org.netbeans.modules.form.HandleLayer.paintLayoutInnerSelection(HandleLayer.java:425) at org.netbeans.modules.form.HandleLayer.paintComponent(HandleLayer.java:321) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintChildren(JComponent.java:887)
Created attachment 129929 [details] stacktrace
I was not able to reproduce it, but it's probably a similar case to bug 213936, the difference is that here a component is selected (not a container). Implemented an analogous workaround. http://hg.netbeans.org/jet-main/rev/cd30f2222f41
Integrated into 'main-golden', will be available in build *201301080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cd30f2222f41 User: Tomas Pavek <tpavek@netbeans.org> Log: #224402: repaint may happen after a failure that was not undone yet; #224531: perhaps simlar case of not yet built container as in bug 213936