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 221880 - NullPointerException at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.ConfigurationPrivateXMLWriter
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.api.configuratio...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-10 18:35 UTC by szmitek
Modified: 2012-11-13 02:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194883


Attachments
stacktrace (1.96 KB, text/plain)
2012-11-10 18:35 UTC, szmitek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description szmitek 2012-11-10 18:35:16 UTC
This bug was originally marked as duplicate of bug 220392, 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, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
szmitek: Closing C++ project. Problem with running C++ project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.ConfigurationPrivateXMLWriter(MakeConfigurationDescriptor.java:1325)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.saveWorker(MakeConfigurationDescriptor.java:1180)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.access$400(MakeConfigurationDescriptor.java:125)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor$SaveRunnable.run(MakeConfigurationDescriptor.java:1082)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.save(MakeConfigurationDescriptor.java:1029)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.save(MakeConfigurationDescriptor.java:1016)
Comment 1 szmitek 2012-11-10 18:35:18 UTC
Created attachment 127531 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2012-11-12 18:53:15 UTC
http://hg.netbeans.org/releases/rev/5842aa16b155
Comment 3 Quality Engineering 2012-11-13 02:44:10 UTC
Integrated into 'main-golden', will be available in build *201211130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5842aa16b155
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #221880 - NullPointerException at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.ConfigurationPrivateXMLWriter
- check null in all places