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 47125 - Error annotations not consistently displayed
Summary: Error annotations not consistently displayed
Status: RESOLVED DUPLICATE of bug 46611
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-08-11 16:56 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-08-11 16:56:34 UTC
040810 custom, 1.5.0 b62. I have noticed for a
while now that error annotations are rarely
displayed in the editor. For example, I was
working on the file Classpaths.java (in
ant/freeform), and had made some edits to the
effect of (edited for clarity):

File entryFile;
String entryS = entryFile.toURI().toString();
URL entry = entryS.toURL();

Of course the last line is invalid; should be:

URL entry = new URL(entryS);

However no error annotation was displayed in the
editor, even after a minute or so of idle time. On
the other hand, my messages.log was filling up
with messages such as

cannot find symbol
symbol  : method toURL()
location: class java.lang.String

Looks like the parser is sending some error
messages to stderr and they are not being picked
up in the editor.
Comment 1 Martin Matula 2004-08-11 17:27:11 UTC
Tom already fixed this. Hopefuly your build was older than his fix.
Otherwise please reopen.

*** This issue has been marked as a duplicate of 46611 ***