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 114109 - UNDO: Assertion after undo on form with copy of button from another form
Summary: UNDO: Assertion after undo on form with copy of button from another form
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 118592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-29 12:33 UTC by Jiri Vagner
Modified: 2007-10-16 09:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception.txt (1.92 KB, text/plain)
2007-08-29 12:36 UTC, Jiri Vagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-08-29 12:33:29 UTC
Steps to reproduce: 
 - add jframe forms A and B
 - create button in form A
 - select button and press CTRL+C
 - open form B, select frame and press CTRL+V
 - now press UNDO -> assertion

java.lang.AssertionError
	at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:228)
	at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:194)
	at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:215)
	at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:194)
	at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.createLayout(SwingLayoutBuilder.java:137)
	...

Product Version: NetBeans IDE Dev (Build 200708202346)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Comment 1 Jiri Vagner 2007-08-29 12:36:07 UTC
Created attachment 47697 [details]
exception.txt
Comment 2 Tomas Pavek 2007-09-17 15:01:58 UTC
Fixed.

/cvs/form/src/org/netbeans/modules/form/CopySupport.java
new revision: 1.40; previous revision: 1.39
Comment 3 Jiri Vagner 2007-09-27 13:35:37 UTC
Verified

Product Version: NetBeans IDE Dev (Build 20070927012459)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 4 Tomas Pavek 2007-10-16 09:21:49 UTC
*** Issue 118592 has been marked as a duplicate of this issue. ***