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.
Summary: | Scan maven project never ending | ||
---|---|---|---|
Product: | javascript | Reporter: | lforet <lforet> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | agamez73, agarwalsudeep, ale_miller10, AsepRidwan, ashishnaicker, baig772, bandi74, bandpay, brilsergei, cgriffith1965, charlesonline, chrisvanderberg, cybertrancer, deff, dj_pilgrim, dmytro, dragoncorp, dumpsta, ernestoha, etitan, gnery07, gtzabari, henrike, isao, istertam, janise, kprovance, kroepr, liamsorsby, markiewb, mmirilovic, oddfish, pandorawombat, phipex, rauldobrota, roger_rf, rrossi, salvamb, Seb147, sha256, shantanun, siva3378, skapitao, Smeers, teesol, toel, toxus, tylervortexbr, uha, vriha, warpgiga, wilo0087 |
Priority: | P1 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 202283 |
Attachments: |
stacktrace
messages.log The messages.log from the unUpdated installation Update dialog box SnapShot of the Updated NB |
Description
lforet
2013-10-29 10:06:05 UTC
Created attachment 141622 [details]
stacktrace
100% reproducible on: Product Version: NetBeans IDE Dev (Build 201501210001) Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev To reproduce, install node.js into src/test/resources directory. The Background scan operation will never complete. 161 duplicates -> P1 This bug already has 200 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=202283 Update from yesterday hangs netbeans now completely :( also it seems not possible to launch an older version on mac even after deleting all files it still starts up as 8.0.2 I've opened more than 1/4 of reports and all of them was: org.netbeans.modules.parsing.impl.indexing.ScanCancelledException: Slow scanning in js. If you find any non javascript indexer please create a new issue from it and assign to correct module. conceptme: Would it be possible to share the project (if it contains javascript) either by attaching here sending privately to my email address? Or could you please share more details about it how big it is (number of files, approx file sizes...)? Thank you For NetBeans 8.0.2 try to install the latest update. Check for the update via Help -> Check for Update (In reply to Petr Pisl from comment #8) > For NetBeans 8.0.2 try to install the latest update. Check for the update > via Help -> Check for Update I've tried this. It updated HTML-editor Knockout and after restart it works fine. But I don't use knockout in my project. Hi I use the latest version but I had the same problem. I had this problem until few minutes ago and it managed to drive me mad for some days. I have just updated the NetBeans + I have tweaked the conf settings and changed the memory settings too. I have set the same amount for the small size and the max size. Try this and the project scanning might finish after all. netbeans_default_options="-J-Xverify:none -J-Xss2m -J-Xms512m -J-Xmx512m -J-XX:PermSize=256m -J-XX:MaxPermSize=256m -J-Dplugin.manager.check.updates=true -J-XX:+UseCompressedOops -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true" Sincerely, Babak @bandpay: Could you attach the message.log file? http://wiki.netbeans.org/FaqLogMessagesFile Thanks. Created attachment 152578 [details]
messages.log
@bandpay: According your message.log you have still the old version of javascript editor. So you don't have installed the patch. Please download the latest update. Anyway, how much js files has your project? If there is bunch of files, then it can takes a few minutes to scan all the files. (In reply to bandpay from comment #10) > Hi > > I use the latest version but I had the same problem. > > I had this problem until few minutes ago and it managed to drive me mad for > some days. I have just updated the NetBeans + I have tweaked the conf > settings and changed the memory settings too. > > I have set the same amount for the small size and the max size. Try this and > the project scanning might finish after all. > > netbeans_default_options="-J-Xverify:none -J-Xss2m -J-Xms512m -J-Xmx512m > -J-XX:PermSize=256m -J-XX:MaxPermSize=256m > -J-Dplugin.manager.check.updates=true -J-XX:+UseCompressedOops > -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true > -J-Dsun.zip.disableMemoryMapping=true" > > > Sincerely, > Babak (In reply to Petr Pisl from comment #13) > @bandpay: According your message.log you have still the old version of > javascript editor. So you don't have installed the patch. Please download > the latest update. > > Anyway, how much js files has your project? If there is bunch of files, then > it can takes a few minutes to scan all the files. It is updated and it says that there are no updates available :), and I have experienced that too large heap will slow down the NB in all manners and not just the scanning part. But I'm telling you guys. This NB hasn't been performing faster than how it is doing now. It has grown wings suddenly and I only see flashes of things while back then "Please wait.." was killing my brain. @bandpay: The problem is that many reports of the slownest was added after publishing patch for NB 8.0.2 which brings javascript editor with version 0.44.3 (i think) and there was a regression that is fixed in javascript editor that has version 0.44.4. According your message log you have 0.44.2. So definitely is not the last one. We are now trying to be sure that the regression is fixed in 0.44.4. Probably you are not affected by the regression and the reason in your case can be different. Believe me that I had this problem so much that I bought a new machine and it became slow and problematic until today too. The NB on the new machine was updated to the last version today and 0.44.4 was seen during the update. I have no idea why it is not mentioned in that messages.log. Created attachment 152580 [details]
The messages.log from the unUpdated installation
Hi,
This is the messages.log from the installation which has JavaScriptEditor 0.44.3
Created attachment 152581 [details]
Update dialog box
This is the screen shot from the unUpdated installation and you can see that the scanning project is around 50% and it will reach 100% but never stops until the NB becomes none responsive and transparent and more than 1,5 GB of Mem is consumed.
@bandpay: Could you attach a few thread dumps? http://wiki.netbeans.org/GenerateThreadDump It can be helpful. Thanks This is finally resolved for me, either because I updated Knockout HTML Editor or because the scanning actually finished. (In reply to Petr Pisl from comment #20) > @bandpay: Could you attach a few thread dumps? > http://wiki.netbeans.org/GenerateThreadDump > It can be helpful. Thanks Hi, The instruction is not good enough :). I cant produce the dump, even that the console window is open. Is there a command I have to run or some buttons I should click on? Thanks, Babak Created attachment 152604 [details]
SnapShot of the Updated NB
Hi,
This is the snapshot of the updated NB which does not indicate that it was updated in it's messages.log.
Have a nice weekend,
Babak
|