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 58739 - NPE thrown when adding AWT component or JavaBean
Summary: NPE thrown when adding AWT component or JavaBean
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-05-10 15:35 UTC by Jiri Prox
Modified: 2005-09-05 09:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
First exeption (1.06 KB, text/plain)
2005-05-10 15:37 UTC, Jiri Prox
Details
Second exception (840 bytes, text/plain)
2005-05-10 15:38 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2005-05-10 15:35:38 UTC
NB 4.2 (200505091800)
Natural Layout 20050509

If any of the AWT component or JavaBean is added to the form the NPE is thown.
java.lang.NullPointerException
	at
org.netbeans.modules.form.layoutdesign.LayoutDesigner.getAdjustableComponentAlignment(LayoutDesigner.java:2019)
	at
org.netbeans.modules.form.FormDesigner$AlignmentCentral.updateState(FormDesigner.java:1591)
Comment 1 Jiri Prox 2005-05-10 15:37:47 UTC
Created attachment 22072 [details]
First exeption
Comment 2 Jiri Prox 2005-05-10 15:38:56 UTC
Created attachment 22073 [details]
Second exception
Comment 3 Jan Stola 2005-05-11 16:29:06 UTC
Fixed.
Comment 4 Jiri Prox 2005-06-27 14:23:59 UTC
Verified in 4.2 (200506261800)