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 50755

Summary: Multiple Exceptions After AWT Layout Adjust Went Wrong
Product: guibuilder Reporter: dme <dme>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Message Log with Exception details

Description dme 2004-10-22 20:46:55 UTC
My Netbeans 4.0 beta 2 will no longer start after
I got a failure adjusting the properties of a
canvas contained in an AWT GridBagLayout. For the
grid height, I picked the last element off the
list, and got an ArrayIndexOutOfBoundsException.
Since then, Netbeans has done nothing except give
me exception boxes to close. I restarted the IDE,
got the AIOOBE. and then the IDE looped giving me
NullPointerExceptions. All I can think of to do is
to manually delete the files to get out of it.
Comment 1 dme 2004-10-22 20:49:19 UTC
Created attachment 18457 [details]
Message Log with Exception details
Comment 2 Jan Stola 2004-10-25 09:00:47 UTC
The problem is caused by AIOOBEs thrown by GridBagLayout.
This is a known problem of JDK 5.0 beta 2.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5055696
It should be fixed in the final release of JDK 5.0.