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.

Bug 244262 - background scanner defect makes NetBeans 8/dev useless
Summary: background scanner defect makes NetBeans 8/dev useless
Status: RESOLVED DUPLICATE of bug 244197
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-03 06:00 UTC by ntisithoj
Modified: 2014-05-07 20:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ntisithoj 2014-05-03 06:00:40 UTC
Netbeans Background Scanner freezeed at currently 43%, slows down entire IDE, shows errors in code that are not there (typically these disappear when the scanning is done), breaks the search function.  I can't create new files (it just says "please wait", and I have to kill the process to make it stop).  All these errors started when the BG scanner began to not work for reasons I do not understand last week. 

I have installed 7.4, 8.0, and nightly builds.  I have run with java 1.7, 1,8 and 1.8.0.5.  I have installed the netbeans/java pachkage from oracle, and the ones from Netbeans.  I have tried Oopenjdk 7 and 6.  I have installed from the oppicial Ubuntu repo as well.  I have installed from a virgin state with no plugins added (expect PHP).  All have the same problems.

I have made sure my disk is defect free.

Currently it is frozen on a off-the-shelf install of Symfony 2 (from github).  The log file (set to FINE) reports non-stop:

INFO [org.netbeans.modules.git.status]: GitInterceptor.refreshTask: Scanning in progress, trying again in 10,000ms
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: IsScanInProgress: (starting: false | working: true | path are changing: false)

and 
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Unregistering active document listener: activeDocument=org.netbeans.modules.csl.core.GsfDocument@49d1a506, mimeType='text/x-php5', kitClass=null, length=1721, version=1, file=org.netbeans.modules.csl.core.GsfDataObject@174bdeef[/store/jw/src/baraka/src/Baraka/CastBundle/Command/dbLanguageUpdateCommand.php@21b8d838:d731a63]
INFO [org.netbeans.core.ui.focus]: External Changes Refresh on focus gain disabled


I am running Ubuntu 14.04 LTS, 3 GHz with 8 gigs of RAM.

Sadly, Netbeans has become virtually useless until this backgroud scanner bug is fixed.  I see also that many other peole are having the same problem.

Possible reason why it stopped working...  some upgrade to KDE/Ubuntu?  Maybe the new RCU processes that I just saw appear (not that they weren;t there before... i just saw them now)... but 

GRUB_CMDLINE_LINUX_DEFAULT="NOHZ=OFF rcupdate.rcu_cpu_stall_suppress=1"

dind't do anything :(

I have the exact same experience on my laptop (same OS, running  netbeans-dev-201405010001)

Laptop

Product Version: NetBeans IDE Dev (Build 201405010001)
Java: 1.7.0_51; OpenJDK 64-Bit Server VM 24.51-b03
Runtime: OpenJDK Runtime Environment 1.7.0_51-b31
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/jw/.netbeans/dev
Cache directory: /home/jw/.cache/netbeans/dev


PC

Product Version: NetBeans IDE Dev (Build 201405010001)
Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.12.0-2-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/jw/.netbeans/dev
Cache directory: /home/jw/.cache/netbeans/dev


Laptop
Comment 1 Vladimir Riha 2014-05-07 11:24:41 UTC
Please, try to install updates using Help->Check for updates in NetBeans 8.0. It should update your IDE to patch 1.1 (could be found after the update process in Help->About). There was a problem with parsing of Twig files. The fix should be also in latest nightly build.
Comment 2 Vladimir Riha 2014-05-07 20:15:47 UTC
Per reporter's confirmation marking as duplicate. Thank you for update.

*** This bug has been marked as a duplicate of bug 244197 ***