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

Summary: Error annotations not consistently displayed
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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 ***