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 59887 - java.lang.AssertionError - updateLayoutStructure
Summary: java.lang.AssertionError - updateLayoutStructure
Status: VERIFIED FIXED
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-06-13 10:09 UTC by Marek Grummich
Modified: 2009-04-17 15:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (998 bytes, text/plain)
2005-06-13 10:10 UTC, Marek Grummich
Details
Exception_II (1.11 KB, text/plain)
2005-06-16 10:25 UTC, Marek Grummich
Details
NLFrame.form (6.21 KB, text/plain)
2005-06-16 10:29 UTC, Marek Grummich
Details
NLFrame.java (6.17 KB, text/plain)
2005-06-16 10:29 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2005-06-13 10:09:45 UTC
Build 200506121800,jdk1.5.0_04

Steps:
- create a new JFrame form
- add a JToolBar to the form
- add a JButton to the toolbar
- add second JButton to the JToolBar
- delete one JButton 
if exception is not thrown try to delete the second button or JToolBar.
Comment 1 Marek Grummich 2005-06-13 10:10:06 UTC
Created attachment 22628 [details]
Exception
Comment 2 Marek Grummich 2005-06-16 10:25:36 UTC
Created attachment 22735 [details]
Exception_II
Comment 3 Marek Grummich 2005-06-16 10:28:50 UTC
Build 200506151800
The second exception is thrown when user delete several component at once.
Steps:
- open an attached form
- select following components jSeparator1, Help, Ok, Cancel buttons
- press Delete key and confirm Multiple Object Deletion dialog
=> Exception_II is thrown
Comment 4 Marek Grummich 2005-06-16 10:29:41 UTC
Created attachment 22736 [details]
NLFrame.form
Comment 5 Marek Grummich 2005-06-16 10:29:59 UTC
Created attachment 22737 [details]
NLFrame.java
Comment 6 Marek Grummich 2005-09-05 13:06:35 UTC
Build 050905 - another test case;
- create a new JFrame
- add a new JPanel to the border white space (Other Components) 
- use D&D functionality to move JPanel under JFrame node in the component inspector
=> an exception is thrown
Comment 7 Tomas Pavek 2005-09-06 10:41:57 UTC
I can't reproduce the last case in today build. Also the other cases described
in this report seem to already work now.
Comment 8 Marek Grummich 2005-09-06 12:23:50 UTC
I can confirm it is not reproducible in the build based on source 050906
morning.Thanks!
Comment 9 Jan Stola 2005-09-06 13:11:35 UTC
Closing as fixed based on the last two comments.
Comment 10 Marek Grummich 2005-10-25 15:45:15 UTC
Verified build 200510241800
Comment 11 Daniel Prusa 2009-03-23 11:52:23 UTC
*** Issue 160004 has been marked as a duplicate of this issue. ***