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 204747 - [71cat] AssertionError at org.netbeans.modules.form.layoutdesign.LayoutInterval.getCommonParent
Summary: [71cat] AssertionError at org.netbeans.modules.form.layoutdesign.LayoutInterv...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 09:43 UTC by MackSix
Modified: 2011-11-17 07:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 182650


Attachments
stacktrace (3.21 KB, text/plain)
2011-11-07 09:43 UTC, MackSix
Details
Project that exhibits the error. (25.37 KB, application/zip)
2011-11-07 09:48 UTC, MackSix
Details
Screenshot of action. (192.83 KB, image/png)
2011-11-07 09:48 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-11-07 09:43:32 UTC
Build: NetBeans IDE Dev (Build 201111060600)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows Vista

User Comments:
MackSix: Moving jTextArea into tight space with other components around.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutInterval.getCommonParent(LayoutInterval.java:608)
   at org.netbeans.modules.form.layoutdesign.LayoutUtils.alignedIntervals(LayoutUtils.java:523)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:2163)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:1813)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:542)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1244)
Comment 1 MackSix 2011-11-07 09:43:36 UTC
Created attachment 112904 [details]
stacktrace
Comment 2 MackSix 2011-11-07 09:48:03 UTC
Created attachment 112905 [details]
Project that exhibits the error.

Open Project and try to move jTexArea1 into the position shown in the screenshot. It must be in the same spot with the same snap-to spacing shown.
Comment 3 MackSix 2011-11-07 09:48:42 UTC
Created attachment 112908 [details]
Screenshot of action.
Comment 4 Jan Stola 2011-11-07 12:47:41 UTC
Thank you for the test-case. I am able to reproduce the mentioned exception
using the attached project and the described steps but I have to increase the font size of Windows (using Control Panel > Display, from Smaller to Medium).
Comment 5 Tomas Pavek 2011-11-16 16:51:00 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/bc8466703860
Comment 6 Quality Engineering 2011-11-17 07:27:57 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/bc8466703860
User: Tomas Pavek <tpavek@netbeans.org>
Log: #204747: and again a problem of using a group that was optimized out