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.
Summary: | NbPreferences wrong synch causing FileAlreadyLockedException: Preferences/org/netbeans/modules/uihandler.properties | ||
---|---|---|---|
Product: | platform | Reporter: | Chiana |
Component: | Options&Settings | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, dwuysan, psusen, Trai_Tao_nho, ynov |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 176659 |
Attachments: | stacktrace |
Description
Chiana
2011-02-13 17:42:32 UTC
Created attachment 105962 [details]
stacktrace
This bug already has 200 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176659 Looks like the problem is in core.startup module. Redirecting to Platform/other. > Looks like the problem is in core.startup module.
> Redirecting to Platform/other.
org.netbeans.core.startup.preferences.NbPreferences
-> options&settings is the right BZ component
See related issue 178439 and issue 157128 considered fixed a year ago. Obviously the synchronization is not resolved completely.
Jirko, you were working on the previous issues. Please, have a look at this one.
Best to add more logging to investigate who is holding the lock e.g. maybe a unclosed output stream somewhere. dwuysan, I cannot reproduce this problem on my configuration however I saw you reported it several times, I would like ask to run your IDE with switch -J-Dorg.openide.filesystems.annotateUnclosedStreams=true then once it appears again attach your messages.log again. It might help to locate a cause of this problem. Thank you in advance. core-main/rev/75da7d40737c - added more logging to investigate who holds a unclosed stream caused this problem Integrated into 'main-golden', will be available in build *201104020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/75da7d40737c User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #195425: more logging to catch NbPreferences wrong synch causing FileAlreadyLockedException: Preferences/org/netbeans/modules/uihandler.properties |