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.
Build: NetBeans IDE Dev (Build 201110200600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows Vista User Comments: MackSix: Moving a jSlider up with other components on the jFrame. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.compatibleInclusions(LayoutFeeder.java:4766) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeParallelInclusions(LayoutFeeder.java:4480) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:433) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1244) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:1156) at org.netbeans.modules.form.HandleLayer$ExistingComponentDrag.end(HandleLayer.java:2826)
Created attachment 112283 [details] stacktrace
Created attachment 112285 [details] Project that exhibits the error. 1) Open Project in NetBeans. 2) Change to Designer View. 3) Move jSlider1 straight up and snap the bottom of it to the bottom of jRadioButton1. (See attached screenshot for position.) This NullPointerException is thrown. Product Version: NetBeans IDE Dev (Build 201110200600) 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 112286 [details] Screenshot of action.
Thank you for a reproducible test-case. I am able to reproduce the exception using the attached project and the described steps.
Fixed. http://hg.netbeans.org/jet-main/rev/7e77047ece9b
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/7e77047ece9b User: Tomas Pavek <tpavek@netbeans.org> Log: #204044: fixing another case of using a group that was optimized out