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.
[NetBeans 200511201900; WinXP; JDK 1.5.0_05] Issue Summary: -------------- IDE doesn't start after opening and closing the Options dialog and then closing the IDE right after it. Can be reproduced quite reliably. Steps to Reproduce: ------------------- 1. Start with fresh userdir. 2. Open new Options dialog. 3. Close it right after opening by clicking OK. 4. Close IDE immediatelly after the dialog is closed. 5. Start IDE. -> The IDE doesn't start and attached exception is thrown. User can't start the IDE again unless he deletes his/her userdir.
Created attachment 27100 [details] Stack Overflow Error
Created attachment 27102 [details] Userdir
1) can not reproduce on my machine (same build). 2) not my code - openide/loaders 3) can you attach broken userdir?
Userdir is already attached. I can reproduce it in at least 80% of the cases.
there are two bugs: #1 clicking ok on the dialog without changing anything should save nothing, #2 mimesupport does not compute what it should
I've just tried it and it I cannot reproduce the problem and nothing. Test that shows 69049 cannot happen in MIMESupport: Checking in MIMESupport69049Test.java; /cvs/openide/fs/test/unit/src/org/openide/filesystems/MIMESupport69049Test.java,v <-- MIMESupport69049Test.java initial revision: 1.1 If you insist on the problem, please generate logs by -Dorg.openide.filesystems=-1
I can't reproduce it on my home machine either. Will try it tomorrow in the office.
Still reproducible on my office computer. Attaching messages.log with -Dorg.openide.filesystems=-1.
Created attachment 27179 [details] messages.log
Might be regression caused by Jarda's rewrite. Jarda has even theory how it can occure and is ready to prove it by test and then fix. Thanks Jarda.
I reproduced the deadlock on build 200511221900, WinXP on P4 with hyperthreading enabled. The stack trace is a bit different, but very similar; steps that led to it are similar to steps described by Roman.
Created attachment 27208 [details] The part of stack trace which is repeated in log
"#69049: Thanks god someone has such a multiprocessor, higly parael and race condition capable machine. Otherwise release could have serious flaw." Checking in fs/src/org/openide/filesystems/MIMESupport.java; /cvs/openide/fs/src/org/openide/filesystems/MIMESupport.java,v <-- MIMESupport.java new revision: 1.9; previous revision: 1.8 done Checking in fs/test/unit/src/org/openide/filesystems/MIMESupport69049Test.java; /cvs/openide/fs/test/unit/src/org/openide/filesystems/MIMESupport69049Test.java,v <-- MIMESupport69049Test.java new revision: 1.2; previous revision: 1.1
*** Issue 69320 has been marked as a duplicate of this issue. ***
Verified.