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.
This issue was reported manually by obrejla. It already has 1 duplicates Build: NetBeans IDE 7.3 (Build 201306052037) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Windows 7 User Comments: GUEST: One fresh project open, tried to create an empty html page, plus background scanning of files keeps freezing this IDE, with no projects open Maximum slowness yet reported was 367252 ms, average is 367252
Created attachment 138383 [details] nps snapshot
The tokenizer in Html5Parser.parse() took all the time. Almost no chance to fix w/o a reproducible case. Is the issue reproducible? If so please attach steps to reproduce or the files/projects where it happens. Thank you in advance.
This is happening every time for me when I try to use a code template. I type fcom then press tab, NB freezes for about 15 seconds. The file is pure PHP, there is no HTML in it.
Created attachment 139218 [details] Self sample
Created attachment 139219 [details] Test PHP file Happened 5 times in a row on this file. Selected between 2 methods, and triggered a code template (fcom[tab]).
EDT blocked waiting for parsing lock, while parsing thread busy w/ php tasks - PHPCodeCompletion.complete() in code completion thread & PHPStructureScanner .scan() in editor parsing thread. IMHO the real bug is that the lib.editor.codetemplates.CodeTemplateInsertHandler.insertTemplate() does try to obtain the editor.indent.api.Reformat.lock() which AFAIR can take long time as it usually means parsing. Passing to php ...
Resolving URLs which is slow in the snapshot was fixed few days ago. Also Signature deocding and encoding was fixed (today). It's almost 30% saved time. So you can try the latest dev build. There is also about 40% time spent in index...and with that I can't do anything. Closing as worksforme.
*** Bug 235054 has been marked as a duplicate of this bug. ***