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 202707, 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 201110070600) 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 jTextArea on jPanel. Stacktrace: java.lang.AssertionError at org.netbeans.modules.form.layoutdesign.LayoutOperations.eliminateEndingGaps(LayoutOperations.java:1986) at org.netbeans.modules.form.layoutdesign.LayoutOperations.optimizeGaps2(LayoutOperations.java:1870) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.intervalRemoved(LayoutDesigner.java:4243) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.removeComponentInterval(LayoutDesigner.java:4120) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.createFeeder(LayoutDesigner.java:1257) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1151)
Created attachment 111725 [details] stacktrace
I am sorry, I am not able to reproduce this issue and the attached stack-trace is not sufficient to track the problem down. Are you still able to reproduce it? If so, could you, please, provide more details? It would be ideal to attach the problematic form (both .java and .form files) saved in the last good state and describe _exact_ steps that lead to the exception. Thank you in advance.
Created attachment 112020 [details] Project that exhibits the error. 1) Open up attached project. 2) Open NewJFrame.java in designer. 3) Try to move textField4 to the left a bit. This AssertionError is thrown. Product Version: NetBeans IDE Dev (Build 201110120600) 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) Stacktrace: http://statistics.netbeans.org/analytics/exception.do?id=533647
Thank you for a reproducible test-case. I was able to reproduce the exception using the attached project and the described steps.
I can reproduce this in build 201110120600, but not in current build. Must have been fixed recently together with something else.