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 148788 [details] thread dump Product Version: NetBeans IDE Dev (Build 20140815-55ddfbb2f97a) Java: 1.7.0_65; Java HotSpot(TM) 64-Bit Server VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b17 System: Linux version 3.13.0-34-generic running on amd64; UTF-8; en_US (nb) When I use javascript code completion feature it quite often deadlocks my file and the Parsing infrastructure so I'm not able to continue in my work without restarting the IDE. I'm attaching screenshot after the deadlock when I'm not also able to edit the file any more and the thred_dump with the lock. I reproduced the issue three times during 2 hours which is pretty much since I don't use the CC almost at all. So if you could take a look soon on that it would be great. Thanks a lot.
Created attachment 148789 [details] screenshot of locked file
Created attachment 148791 [details] messages log The messages.log reminded me that I was also using Go To navigation actions. So it could break combination of the navigation and code completion actions.
Only suspicious in the message log is org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:406) coming from Angular module (go to declaration). I will try to fix it. But could you try to disable angular module, whether this is really the reason?
(In reply to Petr Pisl from comment #3) > Only suspicious in the message log is > org.netbeans.lib.lexer.TokenHierarchyOperation. > ensureReadLocked(TokenHierarchyOperation.java:406) coming from Angular > module (go to declaration). I will try to fix it. But could you try to > disable angular module, whether this is really the reason? Sure, I'll try that.
I have fixed the case in Angular module. Hope it will help. Please reopen, if it will not be ok.
Integrated into 'main-silver', will be available in build *201408220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8fab6346ae03 User: Petr Pisl <ppisl@netbeans.org> Log: #246578 - RepositoryUpdater deadlocked by JavaScript2 code completion
I don't know how to reproduce it (if possible) but I haven't seen any issue with using Angular in latest dev builds.
Transplanted to releases/release801 branch.
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/de42e854d9ce User: Petr Pisl <ppisl@netbeans.org> Log: #246578 - RepositoryUpdater deadlocked by JavaScript2 code completion