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 167361

Summary: [syntax error indication] the project has the syntax error icon even if everything is correct
Product: java Reporter: matusdekanek <matusdekanek>
Component: ProjectAssignee: Jan Jancura <jjancura>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

Description matusdekanek 2009-06-19 11:38:51 UTC
Product Version: NetBeans IDE 6.7 RC3 (Build 200906142201)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

-create a java project
-set the source level of the project to 1.4
-use some 1.5 feature (generics) - the project is not compilable
-set the source level of the project to 1.5
The editor window dow not indicate any syntax error, but the projects window and title of the editor window still 
indicate error. 
This is a bit random, sometimes it does not happen. Making a small change in the file(adding a space) and saving 
corrects the error indication.

This problem seems to be related not only to the source level of the project, but generally to the synchronization of 
the projects window (and some others as well) with the project status.
Comment 1 matusdekanek 2009-06-19 11:39:42 UTC
Created attachment 83800 [details]
messages.log
Comment 2 Milos Kleint 2009-06-19 12:35:27 UTC
java integration issue I suppose
Comment 3 Jiri Prox 2009-07-15 15:59:13 UTC
I cannot reproduce this, maybe it was fixed together with issue 166170. Can you please verify it once more time?
Comment 4 matusdekanek 2009-07-17 09:04:46 UTC
Seems to be fixed, I cannot reproduce it as well (nb 6.7.1 rc). 
Marking resolved:fixed