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 255932

Summary: Classes flagged as missing in the editor when the compiler has no problem finding them.
Product: editor Reporter: jag <jag>
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of error

Description jag 2015-10-14 17:11:21 UTC

Comment 1 jag 2015-10-14 17:12:09 UTC
Created attachment 156720 [details]
Screenshot of error
Comment 2 jag 2015-10-14 17:19:24 UTC
I occasionally find instances where classes are flagged as "cannot find symbol" in the editor, and yet the class does exist and the compiler has no trouble compiling the source cleanly.

In the attached screenshot, you'll see that "VehicleDatabase" is not found, and yet it's clearly in the com.liquidr.datarep package, which is imported.  The dropdown menu in the screenshot shows the list of classes that the editor thinks is in the package, and VehicleDatabase is clearly not there.  But it does get compiled into the .jar file.  javac flags no errors.  The tests run cleanly.

Restarting NetBeans has no effect.  This was happening in the 1007 build.  In the screenshot I'm running the 1014 build (NetBeans 8.1)
Comment 3 Jiri Prox 2015-10-15 08:56:29 UTC
Can you please attach messages.log?