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.

Bug 203542 - AssertionError at org.netbeans.modules.form.layoutdesign.LayoutOperations.eliminateEndingGaps
Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutOperations.eli...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 17:23 UTC by MackSix
Modified: 2011-10-11 20:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181894


Attachments
stacktrace (3.26 KB, text/plain)
2011-10-11 17:23 UTC, MackSix
Details
Project that exhibits the error. (24.33 KB, application/zip)
2011-10-11 17:28 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-11 17:23:52 UTC
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 201110100600)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
MackSix: Horizontally resizeing a filler (vertical strut) on a jPanel




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutOperations.eliminateEndingGaps(LayoutOperations.java:1988)
   at org.netbeans.modules.form.layoutdesign.LayoutOperations.optimizeGaps2(LayoutOperations.java:1879)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.intervalRemoved(LayoutDesigner.java:4352)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.removeComponentInterval(LayoutDesigner.java:4157)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.createFeeder(LayoutDesigner.java:1294)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1188)
Comment 1 MackSix 2011-10-11 17:23:57 UTC
Created attachment 111883 [details]
stacktrace
Comment 2 MackSix 2011-10-11 17:28:38 UTC
Created attachment 111884 [details]
Project that exhibits the error.

1) Open Project
2) Open NewJFrame.java in Design Mode.
3) Open Tree in Navigator under jPanel2
4) Highlight filler6 so that resize handles show in Designer.
5) Grab left handle and try to horizonatlly resize filler6 a bit.

This error occurs.

Product Version: NetBeans IDE Dev (Build 201110100600)
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)
Comment 3 Tomas Pavek 2011-10-11 20:15:53 UTC
I think this got fixed yesterday by
http://hg.netbeans.org/jet-main/rev/43f46266ffca
At least I can't reproduce now.