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.
See screenshot. I had recently deleted the package-private static method ClassPathProviderImpl.inferRootFromPackage (fixing the usage within that class) and saved. No error badge had showed up on the project despite the fact that BuildSniffer, in the same package, uses it. When I opened BuildSniffer, the editor showed a red square, and the error highlight is correct, but the file badge is missing, as are badges in the Projects tab. When I switch to CPPI.java and back, then the badges refresh.
Created attachment 65292 [details] Screenshot demonstrating problem
Generally speaking, I find that NetBeans rather often fails to detect that a change broke a source root, which lessens my trust.
Overtake.
The problem should be fixed in the current dev build. http://hg.netbeans.org/jet-main/rev/bf964f88ff76 http://hg.netbeans.org/jet-main/rev/e040650d2d7c http://hg.netbeans.org/jet-main/rev/05c371bed4d1