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 271125

Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport.findClangFormattingStyles
Product: cnd Reporter: soldatov <soldatov>
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229758
Attachments: stacktrace

Description soldatov 2017-07-19 13:20:05 UTC
Build: NetBeans IDE Dev (Build cnd-trunk-build-3776-on-20170714)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: SunOS

User Comments:
soldatov: I see this exception in tests too (create project, format file, close project, repeat steps)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport.findClangFormattingStyles(BrokenReferencesSupport.java:252)
   at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport.getClangFormattingStyleProblems(BrokenReferencesSupport.java:192)
   at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport.access$800(BrokenReferencesSupport.java:94)
   at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport$ProjectProblemsProviderImpl.lambda$null$0(BrokenReferencesSupport.java:379)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:209)
   at org.openide.util.Mutex.readAccess(Mutex.java:218)
Comment 1 soldatov 2017-07-19 13:20:07 UTC
Created attachment 164791 [details]
stacktrace
Comment 2 Alexander Simon 2017-07-20 10:44:16 UTC
fixed in change set:
http://hg.netbeans.org/cnd-main/rev/228f80b114a9
Comment 3 Quality Engineering 2017-07-20 17:50:57 UTC
Integrated into 'main-silver', will be available in build *201707201608* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/228f80b114a9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #271125 NullPointerException at org.netbeans.modules.cnd.makeproject.ui.BrokenReferencesSupport.findClangFormattingStyles