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 252762 - AssertionError at org.clang.tools.services.impl.PreprocessorInitializer.clearStatCache
Summary: AssertionError at org.clang.tools.services.impl.PreprocessorInitializer.clear...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 252766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-02 17:59 UTC by soldatov
Modified: 2015-06-04 02:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217693


Attachments
stacktrace (6.28 KB, text/plain)
2015-06-02 17:59 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-06-02 17:59:26 UTC
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)
Comment 1 soldatov 2015-06-02 17:59:28 UTC
Created attachment 154025 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-06-02 18:29:03 UTC
fixed
http://hg.netbeans.org/cnd-main/rev/ed793e0a252f
Comment 3 Vladimir Voskresensky 2015-06-03 12:23:28 UTC
*** Bug 252766 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2015-06-04 02:31:34 UTC
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