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 240518 - Throwable: Locked by:
Summary: Throwable: Locked by:
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 20:46 UTC by tbrunhoff
Modified: 2014-01-18 04:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206594


Attachments
stacktrace (3.55 KB, text/plain)
2014-01-15 20:46 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2014-01-15 20:46:02 UTC
Build: NetBeans IDE Dev (Build 201312190002)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: running a build on a new project, created from existing sources.  The svn tree is read only, but the checked out sources are rw.




Stacktrace: 
java.lang.Throwable: Locked by:
   at org.openide.filesystems.MultiFileObject.lock(MultiFileObject.java:723)
   at org.openide.filesystems.FileObject.delete(FileObject.java:398)
   at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl.storeUserDefinedResolver(MIMEResolverImpl.java:223)
   at org.openide.filesystems.FileUtil.setMIMEType(FileUtil.java:1355)
   at org.netbeans.modules.cnd.utils.MIMEExtensions.addExtension(MIMEExtensions.java:222)
   at org.netbeans.modules.cnd.makeproject.MakeProject.addMIMETypeExtensions(MakeProject.java:467)
Comment 1 tbrunhoff 2014-01-15 20:46:03 UTC
Created attachment 144006 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-01-17 15:25:18 UTC
http://hg.netbeans.org/core-main/rev/b9daaaf68cea
Fixed. Thank you for reporting.
Comment 3 Quality Engineering 2014-01-18 04:50:17 UTC
Integrated into 'main-silver', will be available in build *201401180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b9daaaf68cea
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #240518: FileAlreadyLockedException: Services/MIMEResolver/user-defined-mime-resolver.xml