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 62051 - AssertionError in LayoutDesigner.java
Summary: AssertionError in LayoutDesigner.java
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 14:56 UTC by gorth
Modified: 2005-09-20 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gorth 2005-08-10 14:56:23 UTC
Hello

When I copy a JPanel containing a few labels, it triggers an AssertionError. I'm 
not sure which subcomponent I should choose.

System Info: 
  Product Version       = NetBeans IDE Dev (Build 200507260946)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0_04; Java HotSpot(TM) Client VM 1.5.0_04-b05

java.lang.AssertionError
	at org.netbeans.modules.form.layoutdesign.LayoutDesigner.
optimizeGaps(LayoutDesigner.java:4344)
	at org.netbeans.modules.form.layoutdesign.LayoutDesigner.
optimizeGaps(LayoutDesigner.java:4245)
	at org.netbeans.modules.form.layoutdesign.LayoutDesigner.
updateCurrentState(LayoutDesigner.java:68)
	at org.netbeans.modules.form.FormDesigner$2.run(FormDesigner.java:301)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] at java.awt.EventDispatchThread.
pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.
pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jan Stola 2005-09-20 14:03:48 UTC
I am sorry I am not able to reproduce this issue. Feel free to reopen if
you are still able to reproduce it in the latest build. In such a case,
please, provide more detailed steps to reproduce. Thank you.