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 202708 - AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.correctOriginalInclusion
Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.correct...
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-09-27 04:02 UTC by MackSix
Modified: 2011-09-28 14:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181421


Attachments
stacktrace (2.94 KB, text/plain)
2011-09-27 04:02 UTC, MackSix
Details
Project that causes error. (21.48 KB, application/octet-stream)
2011-09-27 04:08 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 04:02:19 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109222201)
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 2 jLabels and a jCheckBox around on a panel. I will try to reproduce it.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.correctOriginalInclusion(LayoutFeeder.java:1052)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:297)
   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$ExistingComponentDrag.end(HandleLayer.java:2752)
   at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2487)
Comment 1 MackSix 2011-09-27 04:02:24 UTC
Created attachment 111213 [details]
stacktrace
Comment 2 MackSix 2011-09-27 04:07:08 UTC
I can't move jLabel1 now without receiving this same assertion error. I closed NetBeans and reopened it and it still gives me the error. I will upload the project. This also occurs if I open the project in Product Version: NetBeans IDE Dev (Build 201109260601)
Comment 3 MackSix 2011-09-27 04:08:21 UTC
Created attachment 111214 [details]
Project that causes error.

Try to move jLabel2 and assertion error occurs.
Comment 4 MackSix 2011-09-27 04:09:17 UTC
Sorry, it is caused by moving jLabel2 not jLabel1.
Comment 5 Tomas Pavek 2011-09-27 09:49:54 UTC
Thanks for the test case. I thought this assertion was too restrictive, but wanted to see a case where it fails to understand.

Fixed.
http://hg.netbeans.org/jet-main/rev/7a8283baa6eb
Comment 6 Quality Engineering 2011-09-28 14:02:57 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/7a8283baa6eb
User: Tomas Pavek <tpavek@netbeans.org>
Log: #202708: too restrictive assertion (a parallel group can be created underneath the original parent)