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 117472, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201110050601) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows Vista User Comments: MackSix: Vertical resize of jPanel near other jPanels on jFrame. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.accommodateSizeInSequence(LayoutFeeder.java:3080) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.accommodateOutPosition(LayoutFeeder.java:2951) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:1801) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:516) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1204) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:1116)
Created attachment 111566 [details] stacktrace
Created attachment 111567 [details] 7.1 Dev Build 201110050601 - Project that exhibits the error. 1. Grab top of jPanel2 and vertically re-size smaller. 2. Snap to top of jPanel1. Error occurs. Product Version: NetBeans IDE Dev (Build 201110050601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Created attachment 111570 [details] 7.1 Dev Build 201110050601 - Project that exhibits the error. 1. Move jCheckBox1 up and snap to "preferred distance from containers upper border". Error occurs. Product Version: NetBeans IDE Dev (Build 201110050601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Thank you for reproducible test-cases. I was able to reproduce the mentioned exception in both cases (using the latest development build).
Fixed. http://hg.netbeans.org/jet-main/rev/7231f7c141e3
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/7231f7c141e3 User: Tomas Pavek <tpavek@netbeans.org> Log: #203182: correction in finding the last but one aligned components at a group edge