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 220474 - Throwable: Locked by:
Summary: Throwable: Locked by:
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 220514 220824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-20 11:47 UTC by everflux
Modified: 2013-08-28 12:59 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159242


Attachments
stacktrace (3.76 KB, text/plain)
2012-10-20 11:47 UTC, everflux
Details
stacktrace (5.29 KB, text/plain)
2012-10-22 09:38 UTC, Jiri Skrivanek
Details
stacktrace (2.32 KB, text/plain)
2012-10-22 09:41 UTC, Alexander Simon
Details
stacktrace (2.32 KB, text/plain)
2012-10-22 10:14 UTC, Alexander Simon
Details
stacktrace (3.76 KB, text/plain)
2012-10-23 11:12 UTC, medeag
Details
stacktrace (3.56 KB, text/plain)
2012-10-23 12:24 UTC, Petr Hejl
Details
stacktrace (3.76 KB, text/plain)
2012-10-25 04:51 UTC, alied
Details
stacktrace (6.12 KB, text/plain)
2012-10-25 12:45 UTC, marco76
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2012-10-20 11:47:51 UTC
Build: NetBeans IDE Dev (Build 201210200002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Linux

User Comments:
GUEST: Editing .xml file

GUEST: changing names using "replace all"

GUEST: opening a pom.xml file

everflux: changed xml file, switched to java editor




Stacktrace: 
java.lang.Throwable: Locked by:
   at org.openide.filesystems.FileLock.<init>(FileLock.java:85)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.<init>(LockForFile.java:91)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.tryLock(LockForFile.java:102)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.lock(FileObj.java:359)
   at org.openide.loaders.MultiDataObject$Entry.takeLock(MultiDataObject.java:1356)
   at org.netbeans.modules.xml.XMLDataLoader$XMLFileEntry.takeLock(XMLDataLoader.java:378)
Comment 1 everflux 2012-10-20 11:47:53 UTC
Created attachment 126236 [details]
stacktrace
Comment 2 Jiri Skrivanek 2012-10-22 09:38:22 UTC
Created attachment 126306 [details]
stacktrace

Changed and saved web project properties.
Comment 3 Exceptions Reporter 2012-10-22 09:38:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159242
Comment 4 Alexander Simon 2012-10-22 09:41:23 UTC
Created attachment 126307 [details]
stacktrace
Comment 5 Alexander Simon 2012-10-22 10:14:20 UTC
Created attachment 126310 [details]
stacktrace
Comment 6 Miloslav Metelka 2012-10-23 08:59:47 UTC
Finally found the cause of the problem. I'll fix ASAP.
Comment 7 Miloslav Metelka 2012-10-23 09:42:40 UTC
http://hg.netbeans.org/jet-main/rev/7520b7ac213e
Comment 8 medeag 2012-10-23 11:12:15 UTC
Created attachment 126384 [details]
stacktrace

searching
Comment 9 Petr Hejl 2012-10-23 12:24:16 UTC
Created attachment 126397 [details]
stacktrace

Creating web project wit tomcat.
Comment 10 Quality Engineering 2012-10-24 01:30:13 UTC
Integrated into 'main-golden', will be available in build *201210240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7520b7ac213e
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #220474 - Throwable: Locked by: - failing test.
Comment 11 alied 2012-10-25 04:51:20 UTC
Created attachment 126504 [details]
stacktrace

browsing the resources in the project view, while the editor had a spring xml open
Comment 12 marco76 2012-10-25 12:45:10 UTC
Created attachment 126544 [details]
stacktrace

changed the maven 'run' option from :exec to :java
Comment 13 Dusan Balek 2012-11-14 15:12:41 UTC
*** Bug 220824 has been marked as a duplicate of this bug. ***
Comment 14 Miloslav Metelka 2013-08-28 12:59:14 UTC
*** Bug 220514 has been marked as a duplicate of this bug. ***