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.
Created attachment 155879 [details] Error flags Product Version: NetBeans IDE Dev (Build 201509010002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_GB (nb) Error flag illustrated was originally shown after I wrote some bad code. The offending code was deleted but the error flag remains even after a successful compile. The cause of the original error is shown in the attached screen grab.
Update - Error flag is cleared after close/reopen of NB.
Can you reproduce this behavior? Could you attach messages.log? Thank you
Created attachment 155897 [details] Messages.log
I've not bee able to reproduce yet but will post again here if/when I get the problem again.
I checked messages.log, there are other errors and infos, but nothing from annotation (error) flags. I know it is annoying, but I need reproducible steps. Maybe it is because javafx, maybe editor didn't notify others. However, since there are no reproducible steps, I will decrease priority to P3.
It's easy to reproduce for me: simply create a java project with this code: public class JavaApplication { public static void main(String[] args) throws InterruptedException { while (true) { System.out.println("hi!"); Thread.sleep(1000L); } } } Run the project inside the IDE and while it is executing, no updates occurs in project view (at least error bubbles). For example, introduce some syntax error in this source (like change "class" by "classs"), save the file and the project view will not show the file with error until you stop the execution..
I can reproduce the problem with error badges while project is running (they are refreshed after stopping the run). But I'm afraid it is not the original reported problem
Thank you Jiri, I've opened a separate case for my problem issue #255901