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 could be a duplicate, but every other bug I found seem to be somewhat different. Every once in a while, Netbeans classes cache seem to get corrupted. I've seen this with different projects and different Netbeans versions. Today, I updated our 20 modules maven project (updated all POMs externally to a new version, that is). Everything compiles, deploys and runs fine. However, Netbeans shows a lot of red badges, errors on "missing" classes. Here are some observations: - "Source" -> "Scan for external changes" doesn't help. - Missing classes cannot be found with "Go to type" (this is at least consistent). - Those missing classes .class actually exist on disk. - Missing classes' projects are open in Netbeans, and source can be opened from project tree. - Editing and saving a "missing" class source triggers compilation and background scanning, and actually solves the problem for this class (not for its whole project, just one class at a time). - Just restarting Netbeans doesn't solve the problem. - Manually deleting the cache directory and restarting Netbeans makes the problem go away. I'm on a dev version, Build 201508030002, but this is a quite common problem.