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.
[ BUILD # : 200905070201 ] [ JDK VERSION : 1.6.* ] Sometimes, the IDE cannot be quit while it is scanning projects. It displays the Exit IDE warning box, informing me about the running task. When I decide to exit anyway the dialog box disappears, the UI becomes unresponsive and the Scanning projects progress bar freezes.
Can you please attach threadump captured while IDE is frozen? Thanks
Please attach <ide-userdir>/var/log/messages.log and the threaddump as requested by jprox. This could be the same problem as in the issue #163944, but it had already been fixed in the build you were testing, so I'm not sure. The threaddump should show where the problem is. Thanks
Created attachment 81883 [details] messages.log for IDE exit while scanning projects
The issue still exists with build 200905110201 but hey, the scanning is really fast now so it's not really a problem any more. I *can* exit the IDE while scanning rt.jar but when my own projects are indexed the IDE freezes. I've attached my messages.log (copied while the IDE was hanging). I'm sorry I had to replace my customer's name with §§§§§ but it's confidential :-/ How do I create a threaddump while the IDE is not responding?!
"How do I create a threaddump while the IDE is not responding?!" - http://wiki.netbeans.org/GenerateThreadDump Look in the section 'To generate threaddump'. You will have to run the IDE from a console or use jstack <PID>. The log file indicates that the IDE was indexing, but until I see the threaddump I can't be sure if there was a deadlock or the indexing was still running. Thanks
Created attachment 81989 [details] threaddump taken while IDE was frozen
Here we go, finally. I hope this is what you wanted. Let me know if not. I noticed that the problem only exists when the numeric progress counter is active, i.e. when I click on the progress bar and I see the (### of ###) hint.
Thanks for the threaddump, that's exactly what I needed. There was no deadlock and you seem to be running version where issue #163944 had already been fixed. The threaddump shows that the IDE was still indexing, but it got stuck on a *.properties file, which when asked to provide EditorCookie ended up in some sort of infinite look. I wonder if the IDE would have eventually crashed with StackOverflowException or something similar. Anyway, I'm passing this on to the properties editor folks.
http://hg.netbeans.org/main/rev/72ca2e399733
*** Issue 165430 has been marked as a duplicate of this issue. ***