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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveLayout(LayoutPersistenceManager.java:158)
   at org.netbeans.modules.form.layoutdesign.LayoutPersistenceManager.saveContainer(LayoutPersistenceManager.java:138)
   at org.netbeans.modules.form.layoutdesign.LayoutModel.saveContainerLayout(LayoutModel.java:1217)
   at org.netbeans.modules.form.GandalfPersistenceManager.saveLayout(GandalfPersistenceManager.java:3379)
   at org.netbeans.modules.form.GandalfPersistenceManager.saveContainer(GandalfPersistenceManager.java:3333)
   at org.netbeans.modules.form.GandalfPersistenceManager.saveAnyComponent(GandalfPersistenceManager.java:3306)
Comment 1 rasyidridho 2013-01-10 19:51:01 UTC
Created attachment 130088 [details]
stacktrace
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 
see http://statistics.netbeans.org/exceptions/detail.do?id=197399
Comment 4 Exceptions Reporter 2013-12-20 08:33:23 UTC
Created attachment 143356 [details]
stacktrace

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