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 142274 [details] How to replicate the issue NetBeans stalls eternally while performing 'Background scanning of process'. I have managed to replicate this issue reported by many. I am attaching a mini maven project. Open it in NetBeans 7.3.1 or 7.4 and wait for the scanning to start. This issue started when I migrated from 7.3.1 to 7.4. It did not happen before. When I reverted to 7.3.1, the issue persisted. The projet was under git. But when I exported it, the issue remained in the non-versioned directory too. Why is this js file causing the issue? I have no idea...
Created attachment 144020 [details] thread dumps Thank you for the project. Reproducible, I'm attaching couple of thread dumps Product Version: NetBeans IDE Dev (Build 201401160001) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in webmain. The current logic is that a js files bigger then 1024 x 1024 are not parsed by default. If a file has size bigger then (1024 x 1024)/3, then is tested, whether is minimized (the first 5 nocomment lines have more then 200 chars), then the file is not parsed as well.
Integrated into 'main-silver', will be available in build *201401300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/18753ec27e50 User: Petr Pisl <ppisl@netbeans.org> Log: #238470 - Eternal 'Background scanning of process' of a JavaScript file in a Maven project