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.
Been seeing this for a long while, just reported on nbusers as well: - Start NB on a fresh userdir - While classpath scanning is still in progress, close the main window - The "Writing classpath information to persistent storage" dialog appears - The progress bar remains at about 15%, the dialog never disappears, the process must be killed
Please attach full thread dump. I cannot reproduce it. It is true, that the IDE hangs for a while at 15%, but then correctly shuts down.
I left out a step after start - create a new J2SE project. When you say "a while" do you mean > 10 minutes? Maybe try it on a mac - I filed this issue from there - but I think I've seen this problem on my pc too. I took a thread dump earlier - nothing stood out. I'll do another.
Created attachment 24252 [details] thread dump
100% reproducible.
> When you say "a while" do you mean > 10 minutes? No! Few seconds - less than 5. Still not reproducible on my windows machine. We will try it on Mac.
Milane, Jirko, can you reproduce it? Thanks
The hang is caused by the fact that the shutdown is waiting for the scanning to be finished. So, if you have a lot of projects open in the IDE, the scanning takes too long and you have an impression that the IDE hangs. This issue was already filed and I fixed it yesterday, so the scanning is now properly cancelled when the IDE tries to shutdown. *** This issue has been marked as a duplicate of 59706 ***
Lots of projects? I have one empty J2SE project. What it's scanning is the JDK - but I've left it running for quite a while in this state and it really never did finish. I'll see if it works on a fresh build.
Reorganization of java component