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.

Bug 44654 - IDE frozen after closing open files
Summary: IDE frozen after closing open files
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 16:36 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump of the frozen IDE (21.70 KB, text/plain)
2004-06-09 16:37 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-06-09 16:36:30 UTC
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.
Comment 1 Antonin Nebuzelsky 2004-06-09 16:37:05 UTC
Created attachment 15602 [details]
Thread dump of the frozen IDE
Comment 2 Antonin Nebuzelsky 2004-06-09 16:38:12 UTC
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.
Comment 3 Martin Matula 2004-06-16 17:48:25 UTC
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.
Comment 4 Tomas Hurka 2004-06-22 08:41:55 UTC
Moved to new subcomponent java/javacore.
Comment 5 Tomas Hurka 2004-07-14 09:06:05 UTC
Closing as works-for-me. Please, reopen if you can reproduce it with current dev 
build.
Comment 6 Quality Engineering 2007-09-20 12:08:49 UTC
Reorganization of java component