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.
When you start the IDE with a package expanded in the explorer and a file from the package open in the editor the badges marking java files as uncompiled are missing, only the opened file has the badge. This is not 100% reproducible but happens almost always. See two screenshots with the state after start without any files open and the state after start with a file open...
Created attachment 16640 [details] Screenshot 1
Created attachment 16641 [details] Screenshot 2
Build system issue. Tomas, please take a look at it. Thanks.
Duplicate of issue 45694?
Reassigning to Jesse, it seems as a problem of FileBuildQueryImplementation.
I will see if I can reproduce it.
Yes, I can reproduce it, in a dev build, JDK 1.4.2, w/ one unbuilt j2seproject open with classes (all expanded in Projects tab): testanttaskwiz.Fo2 testanttaskwiz.Foo1 testanttaskwiz.Hey1 testanttaskwiz.Hey2 testanttaskwiz.Main testanttaskwiz.NoWay testanttaskwiz.yoyo.Yeahway I have Main and Hey2 open in the editor, with Hey2 selected. When I restart the IDE, all classes except Main have the compile badge displayed. If I switch to Main, it gets a badge suddenly. This is quite repeatable, i.e. not a timing issue. Tracked it down as far as JavaNode.resolveIcons, which sometimes gets null from JMManager and then quietly returns without going on to call resolveCompileBadge. See example log w/ debug messages.
Created attachment 16666 [details] Log demonstrating problem; note also that icons for some files are apparently updated several times for no real reason
Compile badges are now reslved regrdless of JMManager.getResource() Checking in JavaNode.java; /cvs/java/src/org/netbeans/modules/java/JavaNode.java,v <-- JavaNode.java new revision: 1.111; previous revision: 1.110 done
Seems to be fixed. I did not encounter it anymore.