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: | CopyResourcesOnSave.copySrcToDest missing synchronization | ||
---|---|---|---|
Product: | projects | Reporter: | ecastro <ecastro> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | big_al, ecastro, elpablo, FrantaM, geoffw, jglick, lmorissette, neilg, pjiricka |
Priority: | P3 | Keywords: | RANDOM, THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=155913 | ||
Issue Type: | DEFECT | Exception Reporter: | 155913 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
ecastro
2009-09-20 14:46:06 UTC
Created attachment 87972 [details]
stacktrace
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=155913 Please, suppress concurrent call of CopyResourcesOnSave.copySrcToDest. Build: NetBeans IDE Dev (Build 200910170201) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, amd64 User Comments: Created new empty file Stacktrace: java.lang.Throwable: Locked by: at org.openide.filesystems.FileLock.<init>(FileLock.java:80) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.<init>(LockForFile.java:89) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.tryLock(LockForFile.java:100) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.lock(FileObj.java:308) at org.netbeans.modules.maven.cos.CopyResourcesOnSave.copySrcToDest(CopyResourcesOnSave.java:114) at org.netbeans.modules.maven.cos.CopyResourcesOnSave.handleCopyFileToDestDir(CopyResourcesOnSave.java:284) Created attachment 89778 [details]
stacktrace
This issue already has 8 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=155913 This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=155913 Created attachment 93164 [details]
stacktrace
Creating file beans.xml from the "Empty file template in src/test/resources/META-INF
Created attachment 98193 [details]
stacktrace
Created an empty file
Reassigning to default owner. Can't reproduce to verify fix, so just guessing: core-main #6f4aa52e1944 Integrated into 'main-golden', will be available in build *201010070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6f4aa52e1944 User: Jesse Glick <jglick@netbeans.org> Log: #172620: unreproducible locking problem thought to be due to lack of synchronization. |