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 77875, 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 201012150001) VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows 7 User Comments: GUEST: I was trying to resize a lable on a from I was designing marcotts: resizing a jpanel GUEST: Resizing a JTextArea in the visual GUI editor swpalmer: resizing JPanel hanta: Resizing in the Swing GUI editor a panel to the same size of another panel GUEST: Laying out a gui using design view Stacktrace: java.lang.AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeSequentialInclusions(LayoutFeeder.java:2790) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:311) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:828) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:753) at org.netbeans.modules.form.HandleLayer$ResizeComponentDrag.end(HandleLayer.java:2837) at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2477)
Created attachment 104260 [details] stacktrace
Created attachment 111515 [details] 7.1 Dev Build 201110040601 - Project that exhibits the error. Try to drag the top of jButton3 up and snap it to the top of jButton2. It throws this error. Probably has to do with the Filler (glue) on the panel. Product Version: NetBeans IDE Dev (Build 201110040601) 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)
I am sorry, I am not able to reproduce this exception (AssertionError from LayoutFeeder.mergeSequentialInclusions). The attached test-case throws a different exception when I use either Build 20111004 or the latest development build. I have submitted a separate issue for that exception (see issue 203656). I am closing this issue as incomplete because there is no reproducible test-case for the original exception. Feel free to reopen this issue if you find such a test-case. Thank you in advance.
Created attachment 112069 [details] .form file to reproduce
Created attachment 112070 [details] .java file to reproduce I've found a reproducible test case. Just resize jButton3 to align at top with the other components.
Fixed the mentioned test case: http://hg.netbeans.org/jet-main/rev/5015e6b90a1c
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/5015e6b90a1c User: Tomas Pavek <tpavek@netbeans.org> Log: #193592, #203656, and some more tweaks