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 233739 - NB gets stuck on "Locking file"
NB gets stuck on "Locking file"
 Status: STARTED None javascript Unclassified Editor (show other bugs) 7.4 PC Other P3 normal with 1 vote (vote) Petr Pisl

 Reported: 2013-07-31 22:23 UTC by Petah 2013-12-16 18:08 UTC (History) 1 user (show) pjiricka DEFECT

Attachments
Profile (836.48 KB, application/octet-stream)
2013-07-31 22:23 UTC, Petah
Details
 Petah 2013-07-31 22:23:46 UTC Created attachment 138091 [details] Profile NB gets stuck on "Locking file". Sometime when I try to start editing a file, NB pops up a message saying: Lengthy operation in progress Locking C:\path\to\my\file.php It never finishes, I have left it for about 5-10 minutes. I checked the file for locks using Lock Hunter while NB was doing this, and it said nothing was locking the file. I have to restart NB to fix this. Petah 2013-07-31 22:24:13 UTC Created attachment 138092 [details] Thread dump Petah 2013-07-31 22:24:48 UTC Created attachment 138093 [details] messages.log Petah 2013-08-01 21:36:25 UTC Now it doing something else weird. Its popping up the same dialog, but it goes away after a while and my edits are not applied. Miloslav Metelka 2013-08-28 15:03:45 UTC The DataEditorSupport\$Env.markModified() posts into ProgressUtils. ProgressUtils is already running NbGenerateCodeAction which waits for Code Completion thread to finish. It is in RUNNABLE state so if it takes more than several minutes it seems that there's something strange in javascript2.editor.model.impl. paulbrickell 2013-10-24 13:02:28 UTC Is there any possible workaround? I can no longer use Netbeans for Javascript development. tudorilisoi 2013-11-13 15:03:49 UTC the same happens to me on ubuntu precise/32bit java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode) Petr Pisl 2013-12-09 11:41:16 UTC Guys, do you have a file, where I can reproduce it? It looks like resolving a type is never ending for some reason. Petr Pisl 2013-12-09 11:59:31 UTC For the original report, the build is a little old. Guys, did you try newer build. Do you have the option "Perform full type resolution" (Tools -> Options -> Editor -> Code Completion -> JavaScript) switch off? If not, could you switch off, whether it helps? Petah 2013-12-09 20:22:24 UTC Just FYI, for me "Perform full type resolution" is off. And I am using 201312020002 dev build. Also my file system is not slow. Whatever netbeans is doing is slow. Geertjan Wielenga 2013-12-16 14:53:39 UTC Guys, do you have a file, where I can reproduce it? It looks like resolving a type is never ending for some reason. Petah 2013-12-16 18:08:16 UTC Happens all the time, with no particular steps tot reproduce. This is one project I have issues with https://github.com/PANmedia/raptor-editor