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 201110140600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows Vista User Comments: MackSix: Moved a jList up a little bit around other components on a jFrame. Stacktrace: java.lang.AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:428) 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:2752) at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2487) at org.netbeans.modules.form.HandleLayer.endDragging(HandleLayer.java:1253)
Created attachment 112079 [details] stacktrace
Created attachment 112080 [details] Project that exhibits the error. 1) Open attached project. 2) Open NewJFrame1.java 3) Move jList1 up just a bit until it snaps to the "large preferred distance" of the component above without snapping to any guideline on the left side. See attached screenshot for position. This AssertionError occurs. Product Version: NetBeans IDE Dev (Build 201110140600) 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 112081 [details] Screenshot of action.
If snapped to the left side of jScrollBar1 at the same time as the above placement, a different AssersionError is thrown.
Fixed - the mentioned exceptions are no longer thrown. Modified file: http://hg.netbeans.org/jet-main/rev/ebb3a538d06f
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ebb3a538d06f User: Tomas Pavek <tpavek@netbeans.org> Log: #203756: tunning some edge conditions