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.
Trunk build 200406082045 running on jdk 1.4.2_04 I had nine files open in the editor. I was doing something in the editor and then encountered an NPE (see a separate issue 44649, which is perhaps not related to this problem at all). Then I closed the exception window, went back to the editor and closed all the open files with CTRL+SHIFT+F4. Then I gave focus to some other window (mozilla) and immediately gave focus back to the IDE. The IDE got frozen. See the attached thread dump. Many of the threads are waiting for a lock in javacore.ExclusiveMutex.enter(), including the AWT thread and also Refresh-After-WindowActivated thread.
Created attachment 15602 [details] Thread dump of the frozen IDE
The IDE is still frozen, I have to kill it. I guess that some code which entered the mutex forgot to leave it after doing its work, or it may be a deadlock.
I am sorry, but I am not able to reproduce this, thus I am lowering the priority. The unclosed transaction may be caused by an exception that could be thrown to the console just before the IDE got frozen. Next time you see something like this, please check whether there are any rollback logs or stacktraces printed out before the deadlock. Thanks.
Moved to new subcomponent java/javacore.
Closing as works-for-me. Please, reopen if you can reproduce it with current dev build.
Reorganization of java component