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.
run IDE with -J-Dcnd.use.headers.indexer=false create c++ application with main in C++14 mode replace #include to be #include <functional> wait parse comment out #include directive and save => you can see trace in log: INFO [cnd.logger]: null entry for valid file PARSED FileImpl @2127280726:272759496 /usr/include/c++/4.9/functional prj:178751629KeyBasedUID on ProjectKey /usr/include/c++/4.9 NOT_BEING_PARSED java.lang.Exception: null entry for valid file PARSED FileImpl @2127280726:272759496 /usr/include/c++/4.9/functional prj:178751629KeyBasedUID on ProjectKey /usr/include/c++/4.9 NOT_BEING_PARSED @[Code Model Parser 3: PARTIAL Reparsing /home/vv159170/NetBeansProjects/CppApplication_Editor/main.cpp] [catch] at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:222) at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:287) at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.markAsParsingPreprocStates(ProjectBase.java:1738) at org.netbeans.modules.cnd.modelimpl.csm.core.DeepReparsingUtils.reparseOnChangedFileImpl(DeepReparsingUtils.java:189) at org.netbeans.modules.cnd.modelimpl.csm.core.DeepReparsingUtils.finishPartialReparse(DeepReparsingUtils.java:153) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsedImpl(FileImpl.java:893) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:673) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:148) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:74) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:92) 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) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) SEVERE [org.netbeans.modules.cnd.modelimpl]: Adding a file /usr/include/c++/4.9/functional with an emty preprocessor state set => exception because incorrect file owner is used to invalidate file states