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 58741 - Cannot save form when it contains JDialog or JFrame
Summary: Cannot save form when it contains JDialog or JFrame
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 15:44 UTC by Jiri Prox
Modified: 2005-09-05 09:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (4.32 KB, text/plain)
2005-05-10 15:45 UTC, Jiri Prox
Details
Annotation file (1.90 KB, text/plain)
2005-05-10 15:46 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:44:08 UTC
NB 4.2 (200505091800)
Natural Layout 20050509

The form cannot be saved when it containts JDialog or JFrame. When clicking on
the Save button NPE is thrown.

java.lang.NullPointerException
	at
org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveLayout(LayoutPersistenceManager.java:105)
	at
org.netbeans.modules.form.layoutdesign.LayoutModel.dumpLayout(LayoutModel.java:481)
Comment 1 Jiri Prox 2005-05-10 15:45:43 UTC
Created attachment 22074 [details]
Exception
Comment 2 Jiri Prox 2005-05-10 15:46:44 UTC
Created attachment 22075 [details]
Annotation file
Comment 3 Jan Stola 2005-05-11 11:37:38 UTC
Fixed.
Comment 4 Jiri Prox 2005-06-23 10:22:15 UTC
Verified in 4.2 (200506221800)