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 201111040600) VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08 OS: Windows Vista User Comments: MackSix: Moving a group of 3 jRadioButtons up. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutInterval.isPlacedAtBorder(LayoutInterval.java:838) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.canSubstAlignWithParent(LayoutFeeder.java:5676) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.canAlignWith(LayoutFeeder.java:5649) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:2119) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeParallelInclusions(LayoutFeeder.java:4615) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:433)
Created attachment 112858 [details] stacktrace
Created attachment 112861 [details] Project that exhibits the error. 1) Open Project and NewJFrame.java 2) Choose jRadioButton1, jRadioButton2 and jRadioButton3 and try to move up and snap to upper corner of frame at a preferred distance. See screenshot for placement. This exception is thrown.
Created attachment 112862 [details] Screenshot of action.
This is the 3rd out of 3 exception this form has thrown. It was created in a previous version. I think it is just a bad form to start with because I can recreate it from scratch and move and size things just fine.
Thank you for the test-case. I am able to reproduce the mentioned exception using the attached project and the described steps.
I can reproduce it in 201111110600, but not in build from current sources. Some of the recent fixes must have fixed this as well.
New duplicate came from NB 7.1.2, see issue 213341
*** Bug 213341 has been marked as a duplicate of this bug. ***
I still can't reproduce on the original test case, but found a place in the code that could cause this, so tried to make a workaround. http://hg.netbeans.org/jet-main/rev/e2de3a134674
Integrated into 'main-golden', will be available in build *201206080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e2de3a134674 User: Tomas Pavek <tpavek@netbeans.org> Log: #204705: trying to avoid situation when snapping to group that gets optimized out
*** Bug 213342 has been marked as a duplicate of this bug. ***
*** Bug 214661 has been marked as a duplicate of this bug. ***
*** Bug 215560 has been marked as a duplicate of this bug. ***
*** Bug 215795 has been marked as a duplicate of this bug. ***