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 256098

Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.PathMapperProjectMetadataFactory.read
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220705
Attachments: stacktrace

Description Exceptions Reporter 2015-10-22 11:39:47 UTC
Build: NetBeans IDE 8.1 RC (Build 201510012201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Mac OS X

User Comments:
GUEST: do not know




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.PathMapperProjectMetadataFactory.read(PathMapperProjectMetadataFactory.java:33)
   at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader$1.runImpl(ConfigurationXMLReader.java:143)
   at org.netbeans.modules.cnd.utils.NamedRunnable.run(NamedRunnable.java:62)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 Exceptions Reporter 2015-10-22 11:39:49 UTC
Created attachment 156900 [details]
stacktrace
Comment 2 Alexander Simon 2015-10-26 10:11:46 UTC
fixed in enum, change set:
21534f19bd36
Comment 3 Quality Engineering 2015-10-29 02:21:56 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/61ca8df6711e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 256098 - NullPointerException at org.netbeans.modules.cnd.makeproject.PathMapperProjectMetadataFactory.read
- it looks like while opening project it was deleted.
Check that project metadata is still valid.
(transplanted from 21534f19bd36420130569784c2be12018b8b0596)
Comment 4 soldatov 2015-11-23 20:00:35 UTC
I hope this bug has been fixed in NetBeans 8.1 patch1.