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 202707 - 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.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 03:28 UTC by MackSix
Modified: 2011-09-28 14:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181420


Attachments
stacktrace (3.27 KB, text/plain)
2011-09-27 03:28 UTC, MackSix
Details
Project that causes error. (21.99 KB, application/octet-stream)
2011-09-27 03:34 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-09-27 03:28:47 UTC
Build: NetBeans IDE Dev (Build 201109260601)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
MackSix: I have a Text Area on a Panel with a CheckBox on the right, snapped to the upper right panel and when I try to move it or delete it, I get this exception. I recieved the same exception as #202636, that is fixed, before this exception was thrown when trying to change Anchor from Top to Bottom on the CheckBox, So maybe this is fixed too in a later build.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutOperations.eliminateEndingGaps(LayoutOperations.java:1956)
   at org.netbeans.modules.form.layoutdesign.LayoutOperations.optimizeGaps2(LayoutOperations.java:1840)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.intervalRemoved(LayoutDesigner.java:4231)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.removeComponentInterval(LayoutDesigner.java:4108)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.createFeeder(LayoutDesigner.java:1257)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1151)
Comment 1 MackSix 2011-09-27 03:28:52 UTC
Created attachment 111211 [details]
stacktrace
Comment 2 MackSix 2011-09-27 03:32:49 UTC
I closed NetBeans and restarted it and I am still stuck not being able to delete the jCheckBox1 or move it. This also happens when I open it up in Product Version: NetBeans IDE 7.1 Beta (Build 201109222201)

I am going to upload the project in a zip file.
Comment 3 MackSix 2011-09-27 03:34:49 UTC
Created attachment 111212 [details]
Project that causes error.

Project that causes error when attempting to delete or move jCheckBox1
Comment 4 Tomas Pavek 2011-09-27 09:47:23 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/4cf1bdfb39db
Comment 5 Quality Engineering 2011-09-28 14:02:25 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4cf1bdfb39db
User: Tomas Pavek <tpavek@netbeans.org>
Log: #202707: consider independent edges only if they are defined by some component, not gaps only