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 - Classes flagged as missing in the editor when the compiler has no problem finding them.
Summary: Classes flagged as missing in the editor when the compiler has no problem fin...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2015-10-14 17:11 UTC by jag
Modified: 2015-10-15 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot of error (1.58 MB, image/tiff)
2015-10-14 17:12 UTC, jag

Note You need to log in before you can comment on or make changes to this bug.
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?