Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332670

Summary: New remote project wizard gets stuck saying it is overriding project settings
Product: [Tools] PTP Reporter: Beth Tibbitts <beth>
Component: Remote ToolsAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: recoskie
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Beth Tibbitts CLA 2010-12-15 13:54:35 EST
New Remote project
made new connection to abe.ncsa.uiuc.edu, remote makefile project, name 'hello'
existing directory 'hello' (that has been used several times before) specified for Location

Popop says "Old project will be overridden" and "Existing project settings will be overridden.  ..."
OK?
I hit OK.
Wizard page does not progress. still on original wizard page.  Finish is still enabled. 
If I hit finish i get same "Old project will be overridden" popup warning.

Using Eclipse 3.7M4 
Version: 3.7.0
Build id: I20101208-1300

CDT M4 8.0.0201012131338 from cdt-master archive
PTP M4 5.0.0.201012141942 from ptp-master archive
Comment 1 Beth Tibbitts CLA 2010-12-15 15:46:13 EST
later i noticed this in the terminal console:  I *think* this was from this problem but not certain.
(Note: later creation of remote projects was ok.  this was the first remote project creation in this installation and this workspace, FWIW)

Artifact repository out of sync. Overwriting /Applications/ecl/test1215_ptp50/eclipse/plugins/org.eclipse.dstore.core_3.2.100.v201011091121.jar
Artifact repository out of sync. Overwriting /Applications/ecl/test1215_ptp50/eclipse/features/org.eclipse.rse.core_3.3.0.v201010061330-7a7HFO0FC7sRd_X6ZcdMvd
Artifact repository out of sync. Overwriting /Applications/ecl/test1215_ptp50/eclipse/plugins/org.eclipse.rse.core_3.1.200.v201010061330.jar
Artifact repository out of sync. Overwriting /Applications/ecl/test1215_ptp50/eclipse/features/org.eclipse.rse.local_2.1.201.v201009071110-7B4F8PBgJ9Ai9dIaHNA9
org.eclipse.ptp.remotetools.exception.RemoteConnectionException: Failed to create SFTP connection for ssh.ExecutionManager
	at org.eclipse.ptp.remotetools.internal.ssh.Connection.getSFTPChannel(Connection.java:461)
	at org.eclipse.ptp.remotetools.internal.ssh.FileTools.getSFTPChannel(FileTools.java:973)
	at org.eclipse.ptp.remotetools.internal.ssh.FileTools.access$0(FileTools.java:972)
	at org.eclipse.ptp.remotetools.internal.ssh.FileTools$SftpCallable.asyncCmdInThread(FileTools.java:109)
	at org.eclipse.ptp.remotetools.internal.ssh.FileTools$SftpCallable.syncCmdInThread(FileTools.java:127)
	at org.eclipse.ptp.remotetools.internal.ssh.FileTools.fetchRemoteAttr(FileTools.java:1005)
	at org.eclipse.ptp.remotetools.internal.ssh.RemoteItem.refreshAttributes(RemoteItem.java:153)
	at org.eclipse.ptp.remote.remotetools.core.RemoteToolsFileStore.getRemoteItem(RemoteToolsFileStore.java:507)
	at org.eclipse.ptp.remote.remotetools.core.RemoteToolsFileStore.fetchInfo(RemoteToolsFileStore.java:173)
	at org.eclipse.core.filesystem.provider.FileStore.fetchInfo(FileStore.java:277)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.isDescriptionSynchronized(FileSystemResourceManager.java:620)
	at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1338)
	at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1376)
	at org.eclipse.cdt.core.CProjectNature.addNature(CProjectNature.java:78)
	at org.eclipse.ptp.rdt.core.resources.RemoteNature.addRemoteNature(RemoteNature.java:68)
	at org.eclipse.ptp.rdt.ui.wizards.NewRemoteProjectWizard.continueCreation(NewRemoteProjectWizard.java:57)
	at org.eclipse.ptp.rdt.ui.wizards.RemoteCommonProjectWizard.createIProject(RemoteCommonProjectWizard.java:482)
	at org.eclipse.ptp.rdt.ui.wizards.RemoteCommonProjectWizard$1$1$1.run(RemoteCommonProjectWizard.java:291)
	at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
Comment 2 Chris Recoskie CLA 2010-12-15 15:49:21 EST
That looks like a problem with Remote Tools, not with RDT.
Comment 3 Beth Tibbitts CLA 2010-12-15 16:08:30 EST
subsequent creation of project with exact scenario as above was successful.
Wondering if it has something to do with being the first remote project created.
I had created some local projects successfully before trying the remote project.
Comment 4 Greg Watson CLA 2010-12-15 18:51:59 EST
The artifact repository out of sync messages are strange. It's possible this had something to do with it. It's also possible it was a network issue. This exception is thrown when creating an sftp channel causes a JschException.

I doubt we can track this down unless it is repeatble.
Comment 5 Beth Tibbitts CLA 2011-06-13 13:33:19 EDT
Seems to work now