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.
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.
Created attachment 138092 [details] Thread dump
Created attachment 138093 [details] messages.log
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.
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.
Is there any possible workaround? I can no longer use Netbeans for Javascript development.
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)
Guys, do you have a file, where I can reproduce it? It looks like resolving a type is never ending for some reason.
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?
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.
Happens all the time, with no particular steps tot reproduce. This is one project I have issues with https://github.com/PANmedia/raptor-editor