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.
This bug was originally marked as duplicate of bug 252673, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201506020001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Windows 7 User Comments: soldatov: edit any file bentos: The code compiles fine (with g++) but 90% of lines of code are reported as errors "Unable to resolve identifier", e.g. typedef boost::dynamic_bitset<> genestring; is reported as "Unable to resolve identifier boos" and "Unable to resolve identifier genestring". Stacktrace: java.lang.AssertionError at org.clang.tools.services.impl.PreprocessorInitializer.clearStatCache(PreprocessorInitializer.java:130) at org.clang.tools.services.ClankPreprocessorServices.invalidate(ClankPreprocessorServices.java:75) at org.netbeans.modules.cnd.apt.impl.support.clank.ClankDriverImpl.invalidateImpl(ClankDriverImpl.java:92) at org.netbeans.modules.cnd.apt.impl.support.clank.ClankDriverImpl.invalidateImpl(ClankDriverImpl.java:97) at org.netbeans.modules.cnd.apt.support.ClankDriver.invalidate(ClankDriver.java:173) at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.onFileEditStart(ProjectImpl.java:164)
Created attachment 154025 [details] stacktrace
fixed http://hg.netbeans.org/cnd-main/rev/ed793e0a252f
*** Bug 252766 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201506040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ed793e0a252f User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #252762 - AssertionError at org.clang.tools.services.impl.PreprocessorInitializer.clearStatCache