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 141244

Summary: Unreliable compilation error detection
Product: java Reporter: Jesse Glick <jglick>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121950    
Attachments: Screenshot demonstrating problem

Description Jesse Glick 2008-07-22 23:22:11 UTC
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.
Comment 1 Jesse Glick 2008-07-22 23:22:59 UTC
Created attachment 65292 [details]
Screenshot demonstrating problem
Comment 2 Jesse Glick 2008-07-22 23:27:07 UTC
Generally speaking, I find that NetBeans rather often fails to detect that a change broke a source root, which lessens
my trust.
Comment 3 Rastislav Komara 2009-02-03 10:54:01 UTC
Overtake.