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.
It's had to work on projects when the IDE is reporting false positives on compilation error even when Full compilation is completed successfully. We have 5 developers who use the latest Stable 6.5.1 version of netbeans, all developers have experienced this problem and it's impacting their work and concentration. I have attached a picture of a typical occurrence in Netbeans.
Created attachment 80795 [details] My workspace
Is the issue reproducible? I mean, if you clean IDE caches (/var/cache/index subdirectory of your NB userdir) and restart the IDE, are there any files marked as erroneous? If so, what particular errors are reported, is there missing something?
You must be joking right. Is that an solution to a constantly re-occurring symptom "clean your cache". If i did not know any better this is an IDE right. Just like eclipse, IDEA, JDeveloper, etc... Just trying to let Netbeans community know that it is a severe blow to your IDE reputation among Eclipse users, when they see Netbeans can't track compilation errors correctly and it gets out of sync ofter with error badges. And guess what their point of entry to Netbeans is maven project because it allows them to maintain a project in eclipse while they try netbeans and see if it's worth switching. So The common use case is as follows: User develops web application in eclipse. User get's tired of it, I come over and say hey i provided pom definitions to all our projects, so you can try developing in Netbeans. User Takes my advice, downloads netbeans, turn on ( clearcase, svn, maven web application modules,tomcat ) Opens projects, and compiles. Navigates and works on the classes for a while, updates and notices Errors. User compiles and the compiler notifies of compilation successful. The IDE still reports error. The user Selects all projects clicks on Reload Projects. ( errors still there ) User closes and opens the projects ( errors still there ) User closes the IDE and restarts ( error still there ) User comes around and asks me why is Netbeans showing errors. I apologize for Netbeans and tell them to clear cache every time it happens. Process repeats 2 or 3 times a week. WOW. This blows my mind that this IDE can't handle such fundamental functionality. Other shortcomings are reasonable but not this. I would not mind if it got out of sync once in a blue moon but for us it happens quite frequently.
Please understand why i am not very cheerful about this. I started work in a company that is mainly IBM & eclipse. I am chipping away at making the development more independent and neutral toward IDE and Servers. So that we can have a greater chance to switch between solutions. With the support of Maven, i was able to switch the build process and put us on the road to achieving my goals. That opened opportunity for netbeans to play a role in this shop. Out of 30 developers using eclipse, i have introduces netbeans to 5 developers that are doing work in netbeans. I can't continue if such fundamental feature as compilation errors is not locked down and working flawlessly. But i got the ball rolling, i think that within months most of the developers will have a netbeans installed on their machines.
Hi mjreged I understand you pain. The clearing caches is only workaround for this problem, definitely not a final solution. Unfortunately the wrong error badges are very complex problem, which can be caused by several reason. We are trying to solve all reports of this problem, but in most cases, we need more info, to find out where is the root of the problem hidden. The best help for getting the problem fixed fast is to provide exact steps to reproduce - from the fresh userdir (avoiding earlier metadata corruption) to the first occurrence of the bug. Unfortunately this is almost impossible to provide. So we must find the problem from various logs and symptoms. Can you please answer the questions from dbalek? It will help us to solve this problem. Thanks
Are you guys not planning to address the issue in NB6.5 as part of bug fix updates? I Tried NB6.7 it has the same problem, but it even has other issues that i think they will not address in time. Like maven projects start up in about 20 min because it scans project paths that long and does it every time i restart IDE. While error badges is more fundamental problem. A problem that NB6.5 should not suffer from and should be fixed in the stable release.
Created attachment 81385 [details] It's not hard to cause error badges go out of synch, i am sure netbeans developes have come across it.
Created attachment 82563 [details] Latest NB6.7 dev shows error bages inconsistent
This was fixed today, please try newer build *** This issue has been marked as a duplicate of 165413 ***
This bug has been duplicated on NB6.9 as well. Please give us update on the status.