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 203656 - AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup
Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 13:45 UTC by Jan Stola
Modified: 2011-10-18 14:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181968


Attachments
stacktrace (3.04 KB, text/plain)
2011-10-13 13:45 UTC, Jan Stola
Details
Project exhibiting the problem. (25.87 KB, application/x-zip-compressed)
2011-10-13 14:01 UTC, Jan Stola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2011-10-13 13:45:53 UTC
This issue was reported manually by jstola.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 20111009-a9e7469407ae)
VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:1899)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:1796)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:532)
   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$ResizeComponentDrag.end(HandleLayer.java:2887)
Comment 1 Jan Stola 2011-10-13 13:45:57 UTC
Created attachment 112003 [details]
stacktrace
Comment 2 Jan Stola 2011-10-13 14:00:32 UTC
This test-case was originally attached to issue 193592.

Steps to reproduce:
1. Open the attached project.
2. Open NewJFrame.java.
3. Drag the top edge of jButton3 and drop it such that
   it aligns with the top edge of jButon2.
   => the exception is thrown.
Comment 3 Jan Stola 2011-10-13 14:01:46 UTC
Created attachment 112005 [details]
Project exhibiting the problem.
Comment 4 Tomas Pavek 2011-10-17 08:22:00 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/5015e6b90a1c
Comment 5 Quality Engineering 2011-10-18 14:15:58 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5015e6b90a1c
User: Tomas Pavek <tpavek@netbeans.org>
Log: #193592, #203656, and some more tweaks