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 201110040601) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows Vista User Comments: MackSix: Trying to verticle resize a Editor Pane with 3 RadioButtons and 1 ComboBox on the right and 3 Buttons below. Will try to reproduce. Stacktrace: java.lang.AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:448) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1204) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:1116) at org.netbeans.modules.form.HandleLayer$ResizeComponentDrag.end(HandleLayer.java:2887) at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2487) at org.netbeans.modules.form.HandleLayer.endDragging(HandleLayer.java:1253)
Created attachment 111501 [details] stacktrace
Created attachment 111502 [details] Project that exhibits the error. 1. Highlight jEditorPane2. 2. Grab the handle at the top of jEditorPane2 and resize it vertically by dragging the top down and snap it in alignment with the top of jRadioButton2. It throws this error.
Created attachment 111568 [details] 7.1 Dev Build 201110050601 - Project that exhibits the error. Horizontally resize jPanel2 and try to snap align it to the right side of jPanel3. 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).
I think this assertion is wrong. http://hg.netbeans.org/jet-main/rev/6ef73851ec54
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/6ef73851ec54 User: Tomas Pavek <tpavek@netbeans.org> Log: #203114: wrong assertion, the other edge can be the one resized