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.
Created attachment 147819 [details] Stacktrace Patch 2 of Netbeans 8.0 broke the code assistance for C(++) projects. All identifiers are marked as error, navigation to source etc. isn't working too. Problems: --------- 1. Navigation Source -> Header / Header -> Source not working 2. All identifier (Methods, variables etc.) are marked as an error 3. ClassCastException is thrown (especially if "Code Assistance -> Reparse Project" is used) - please see attached stacktrace 4. No linking of source / header in editor Still working: -------------- 1. Codecompletion 2. Compilation Further information ------------------- Tested projects are mostly cmake based and worked prior update 2.
As I understand that's code model a repository issue - what was got from there appeared to be an instance of IncludeImpl instead of FileImpl. So the code model repository is broken for unknown reason. As a workaround, please remove ${nb_userdir}/var/cache/cnd/model
I guess the path is "/home/<username>/.cache/netbeans/8.0/cnd/model" on linux. After deleting this folder the problems mentioned above are gone - thank you! I'll check this on another machine too and report back.
Seems solved. ps. is it up on me to close this bug or should devs do this?
Thank you for info. We'll close it after we make some additional checks.