Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317356 - IDE hangs while building a project using RSE linked folders (via SSH)
Summary: IDE hangs while building a project using RSE linked folders (via SSH)
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 09:00 EDT by TR CLA
Modified: 2020-05-14 11:08 EDT (History)
2 users (show)

See Also:


Attachments
The progress panel view (8.75 KB, image/gif)
2010-06-20 06:24 EDT, TR CLA
no flags Details
Eclipse process activity while in "hang" state (32.62 KB, image/gif)
2010-06-20 06:28 EDT, TR CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description TR CLA 2010-06-19 09:00:51 EDT
Build Identifier: I20100603-1500

I am using a clean fresh installation of the eclipse-php-helios-RC4-win32 package.

Additionally, the Target Management plugin is installed allowing for the SSH connections via the Remote Systems Explorer.

When using remote linked resources IDE hangs after it tries to build the project.

The project is quite large, contains 5000+ PHP files.


-----

Excerpt from logs:

!SESSION 2010-06-19 14:08:02.869 -----------------------------------------------
eclipse.buildId=I20100603-1500
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product

Reproducible: Always

Steps to Reproduce:
CASE I:

1. Create PHP project
2. Add new folder to the project , use "Advanced"->"Linked Folder" feature
3. After the folder is added to the project wait a while, the project starts to build. 
4. Wait for the server timeout, after the timeout occurs the alert window pops up, click OK.
5. Eclipse hangs.

CASE II:
1. Create PHP project
2. Add new folder to the project , use "Advanced"->"Linked Folder" feature
3. After the folder is added to the project wait a while, the project starts to build. 
4. Use code assist to suggest class name, variable etc. while the project is in the process of building the project
5. Eclipse hangs.
Comment 1 TR CLA 2010-06-20 06:21:30 EDT
Additional info from the logs:

!SUBENTRY 1 org.eclipse.rse.efs 4 271 2010-06-20 12:06:56.918
!MESSAGE Failed to connect SFTP subsystem: Remote host may not have sftp-server installed: rse://DOMAIN.COM/www/lib/Zend/ZendFramework-1.9.6/libr
ary/Zend/Form/Decorator/DtDdWrapper.php
!STACK 0
org.eclipse.rse.services.clientserver.messages.SystemOperationFailedException: Failed to connect SFTP subsystem: Remote host may not have sftp-server installed
        at org.eclipse.rse.internal.services.ssh.files.SftpFileService.connect(SftpFileService.java:352)
        at org.eclipse.rse.internal.services.ssh.files.SftpFileService.getChannel(SftpFileService.java:399)
        at org.eclipse.rse.internal.services.ssh.files.SftpFileService.getFile(SftpFileService.java:489)
        at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.getFile(FileServiceSubSystem.java:382)
        at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.getRemoteFileObject(FileServiceSubSystem.java:207)
        at org.eclipse.rse.internal.efs.RSEFileStoreImpl.getRemoteFileObject(RSEFileStoreImpl.java:355)
        at org.eclipse.rse.internal.efs.RSEFileStoreImpl.openInputStream(RSEFileStoreImpl.java:667)
        at org.eclipse.rse.internal.efs.RSEFileStore.openInputStream(RSEFileStore.java:323)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
        at org.eclipse.core.internal.resources.File.getContents(File.java:293)
        at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:550)
        at org.eclipse.dltk.internal.core.FileCacheStub.get(FileCacheStub.java:45)
        at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:486)
        at org.eclipse.dltk.internal.core.SourceModule.getBufferContent(SourceModule.java:384)
        at org.eclipse.dltk.internal.core.AbstractSourceModule.getSourceAsCharArray(AbstractSourceModule.java:307)
        at org.eclipse.dltk.internal.core.AbstractSourceModule.getContentsAsCharArray(AbstractSourceModule.java:328)
        at org.eclipse.php.internal.core.compiler.ast.parser.AbstractPHPSourceParser.parse(AbstractPHPSourceParser.java:40)
        at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse(PHPSourceParserFactory.java:41)
        at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:137)
        at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:197)
        at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:183)
        at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:168)
        at org.eclipse.php.internal.core.index.PhpIndexingParser.parseSourceModule(PhpIndexingParser.java:27)
        at org.eclipse.dltk.core.index2.AbstractIndexer.indexDocument(AbstractIndexer.java:45)
        at org.eclipse.dltk.internal.core.index.sql.SqlIndexer.indexDocument(SqlIndexer.java:145)
        at org.eclipse.dltk.internal.core.index2.SourceModulesRequest.run(SourceModulesRequest.java:78)
        at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:76)
        at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:467)
        at java.lang.Thread.run(Unknown Source)
Comment 2 TR CLA 2010-06-20 06:24:13 EDT
Created attachment 172285 [details]
The progress panel view
Comment 3 TR CLA 2010-06-20 06:28:32 EDT
Created attachment 172286 [details]
Eclipse process activity while in "hang" state

When eclipse hangs as described, the only thing it does it periodically accesses the lock.db file, UI is unresponsive, application is not responding.
Comment 4 Roy Ganor CLA 2010-07-28 01:42:59 EDT
Currently PDT does nothing in specific for the RSE folders, I believe that in the future we develop a better integration build with it.

My recommendation - use SVn/CVS which are more integrated into the Eclipse workflows.
Comment 5 Dawid Pakula CLA 2018-07-13 10:08:06 EDT
(In reply to Roy Ganor from comment #4)
> Currently PDT does nothing in specific for the RSE folders, I believe that
> in the future we develop a better integration build with it.
> 
> My recommendation - use SVn/CVS which are more integrated into the Eclipse
> workflows.

RSE in current state is no longer maintained.