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 224725 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveLayout
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutPersiste...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2013-01-10 19:50 UTC by rasyidridho
Modified: 2014-08-17 12:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197399

stacktrace (8.07 KB, text/plain)
2013-01-10 19:51 UTC, rasyidridho
stacktrace (2.71 KB, text/plain)
2013-12-20 08:33 UTC, Exceptions Reporter
stacktrace (8.15 KB, text/plain)
2014-01-20 15:27 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description rasyidridho 2013-01-10 19:50:59 UTC
This bug was originally marked as duplicate of bug 171427, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Windows 7

   at org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveLayout(
   at org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveContainer(
   at org.netbeans.modules.form.layoutdesign.LayoutModel.saveContainerLayout(
   at org.netbeans.modules.form.GandalfPersistenceManager.saveLayout(
   at org.netbeans.modules.form.GandalfPersistenceManager.saveContainer(
   at org.netbeans.modules.form.GandalfPersistenceManager.saveAnyComponent(
Comment 1 rasyidridho 2013-01-10 19:51:01 UTC
Created attachment 130088 [details]
Comment 2 Tomas Pavek 2013-01-11 15:11:36 UTC
This is a rather serious bug - not being able to save. Are you able to reproduce it? Could you possibly share the original GUI form where it happen? Do you remember the steps that lead to the problem? Any clue is welcomed.

The exception itself only shows what is broken in the model (missing layout component for a visual component in the form), but is not sufficient to identify how it happened. Other exceptions show some problems when trying to align components, which would also be nice to have steps for, but this should not cause the save breakage. Thanks!
Comment 3 Exceptions Reporter 2013-09-26 16:36:44 UTC
This bug already has 5 duplicates 
Comment 4 Exceptions Reporter 2013-12-20 08:33:23 UTC
Created attachment 143356 [details]

Comment 5 Exceptions Reporter 2014-01-20 15:27:51 UTC
Created attachment 144159 [details]