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 194730

Summary: Netbeans doesnt detect recursive symbolic links while indexing
Product: php Reporter: mykola
Component: CodeAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tzezula
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description mykola 2011-01-26 12:09:12 UTC
Subj. module org.netbeans.modules.parsing.impl.indexing dont detect recursive symbolic links while indexing. 

How to reproduce:

Im using netbeans ide 6.9.1 with php module under linux.

# cd /usr/share/php5/ 
# mkdir Zend 
# ln -s /usr/share/php5/Zend Zend/Zend
# touch ./Zend/Test.php

Start netbeans. Go to Tools->Options->Php tab 'General'. Add /usr/share/php5 to global include path. 

As result task 'Scanning project' will never complete and eats 50% of my cpu.  

This is a part of ~/.netbeans/6.9/var/log/messages.log after few minutes of "indexing":


FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing file /usr/share/php5/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Z
end/Zend/Test.php using org.netbeans.modules.csl.core.EmbeddingIndexerFactoryImpl@3ade1520; mimeType='text/x-php5'
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing file /usr/share/php5/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Z
end/Zend/Test.php using org.netbeans.modules.csl.core.TLIndexerFactory@a54a40c; mimeType='text/x-php5'
Comment 1 Tomas Mysik 2011-06-03 10:10:18 UTC

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