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 234470 - Scanning Stuck
Summary: Scanning Stuck
Status: RESOLVED DUPLICATE of bug 244197
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 00:13 UTC by elogicmedia
Modified: 2014-05-05 06:47 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201487


Attachments
stacktrace (1.97 KB, text/plain)
2013-08-16 00:13 UTC, elogicmedia
Details
stacktrace (2.42 KB, text/plain)
2014-05-05 06:12 UTC, vgrigory
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elogicmedia 2013-08-16 00:13:18 UTC
Build: NetBeans IDE 7.3 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
GUEST: The scan process never finishes it will hit some percent (40% ,60%, 80%,100%) and never officially complete the task...

elogicmedia: Open Netbeans - Constant issue.

GUEST: background scanning never ending on debian wheezy and netbeans 7.3.
It stays at 100%.

GUEST: \\192.168.18.171\www\
?????????????????????????????????????????????????

tasper: Linux-Ubuntu-version 13.04
In Unity desktop, mount a remote shared directory like smb://192.168.0.4/php$. Supply user, domain and password.
Make a soft link in Desktop to:
/run/user/<username>/gvfs/smb-share:server=192.168.0.4,share=php$/dns
called dns.
Create a php project with existing sources pointing source to the soft link

Slow scanning of the project, autocomplete show only "please wait.."
background scanning don't stop

GUEST: Start netbeans.
Attempt to cancel scanning.




Stacktrace: 
org.netbeans.modules.parsing.impl.indexing.ScanCancelledException: Slow scanning in php
   at java.lang.Thread.getStackTrace(Thread.java:0)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:128)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:121)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:829)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:822)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:86)
Comment 1 elogicmedia 2013-08-16 00:13:20 UTC
Created attachment 138768 [details]
stacktrace
Comment 2 vgrigory 2014-05-05 06:12:19 UTC
Created attachment 147104 [details]
stacktrace

after applying patch 1, now "Background scanning of projects" is always on 44%.

1. CPU is always under pressure
2. unable to perform formatting of source
3. probably searcher (class, file, ...) will not work as expected
4. also expect problem with git (marking files, diffs, ..)
Comment 3 Tomas Zezula 2014-05-05 06:45:21 UTC
Caused by an infinite loop in the PHP parser.

*** This bug has been marked as a duplicate of bug 244197 ***
Comment 4 Tomas Zezula 2014-05-05 06:47:08 UTC
Caused by an infinite loop in the PHP parser, see issue #244197.
Should be fixed in the daily builds.