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: | FileAlreadyLockedException in checkstyle.AuxPropsImpl.copyToCacheDir | ||
---|---|---|---|
Product: | projects | Reporter: | rdelaplante <rdelaplante> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | THREAD |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 176925 |
Attachments: | stacktrace |
Description
rdelaplante
2011-02-22 19:43:27 UTC
Created attachment 106313 [details]
stacktrace
Might be a race condition. I'm not clear how it could happen in the current codebase, given that all cases of copying the file are protected by synchronized (AuxPropsImpl.this) https://hg.netbeans.org/core-main/rev/1fa8b682089e makes sure that we use just one method to copy files and avoid deleting the file if it exists. Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1fa8b682089e User: Milos Kleint <mkleint@netbeans.org> Log: #195824 unify ways of copying the checkstyle config file to a configuration area.. never delete, just overwrite. |