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 210038 - AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup
Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 17:17 UTC by lehel
Modified: 2012-05-09 08:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186238


Attachments
stacktrace (3.09 KB, text/plain)
2012-03-24 17:17 UTC, lehel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lehel 2012-03-24 17:17:24 UTC
This bug was originally marked as duplicate of bug 207040, 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 201203220400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows XP

User Comments:
lehel: -Using a JFrame
-putting on it a JPanel
-changing it's size with the mouse in design time




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:1979)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:1829)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:551)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:905)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:819)
   at org.netbeans.modules.form.HandleLayer$ResizeComponentDrag.end(HandleLayer.java:3104)
Comment 1 lehel 2012-03-24 17:17:26 UTC
Created attachment 117199 [details]
stacktrace
Comment 2 Tomas Pavek 2012-04-02 13:53:37 UTC
Any chance you still have the GUI form where this AssertionError ca be reproduced? Looks like that besides bug 207040 there can be another way to get this exception, but we need exact reproducible steps to be able to fix it. Thanks.
Comment 3 Tomas Pavek 2012-05-09 08:40:28 UTC
Made a fix that should reduce errors like this in general (losing information about original position of a component that is moved or resized):
http://hg.netbeans.org/jet-main/rev/4258c36c7fc2