[
https://issues.jboss.org/browse/JBIDE-12775?page=com.atlassian.jira.plugi...
]
Andre Dietisheim resolved JBIDE-12775.
--------------------------------------
Fix Version/s: 4.0.0.Alpha2
(was: 4.0.0.Beta1)
Resolution: Cannot Reproduce Bug
closing as "Can't reproduce" since we now both cannot reproduce this any
more with Juno SR1
if cloning fails because of missing private key in ssh2
preferences,error dialog only shows a meaningless TargetInvocationException
-----------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-12775
URL:
https://issues.jboss.org/browse/JBIDE-12775
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.0.0.Alpha2
Reporter: Stefan Bunciak
Assignee: Andre Dietisheim
Fix For: 4.0.0.Alpha2
Attachments: auth-error.png, sshexception.png
{code}
java.lang.reflect.InvocationTargetException
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:173)
at
org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:245)
at
org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:233)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:97)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ConfigureUnsharedProject.copyOpenshiftConfigurations(ConfigureUnsharedProject.java:140)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ConfigureUnsharedProject.execute(ConfigureUnsharedProject.java:93)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.configureUnsharedProject(OpenShiftExpressApplicationWizardModel.java:119)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$ImportJob.runInWorkspace(OpenShiftExpressApplicationWizard.java:304)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.eclipse.jgit.api.errors.TransportException:
ssh://733a664b01da4c8f8352a271434c0805@rich-heydoman.rhcloud.com/~/git/rich.git/: Auth
fail
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
... 9 more
Caused by: org.eclipse.jgit.errors.TransportException:
ssh://733a664b01da4c8f8352a271434c0805@rich-heydoman.rhcloud.com/~/git/rich.git/: Auth
fail
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at
org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
at
org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 12 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:482)
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
... 19 more
Root exception:
org.eclipse.jgit.api.errors.TransportException:
ssh://733a664b01da4c8f8352a271434c0805@rich-heydoman.rhcloud.com/~/git/rich.git/: Auth
fail
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
at
org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:245)
at
org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:233)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:97)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ConfigureUnsharedProject.copyOpenshiftConfigurations(ConfigureUnsharedProject.java:140)
at
org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ConfigureUnsharedProject.execute(ConfigureUnsharedProject.java:93)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.configureUnsharedProject(OpenShiftExpressApplicationWizardModel.java:119)
at
org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$ImportJob.runInWorkspace(OpenShiftExpressApplicationWizard.java:304)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.eclipse.jgit.errors.TransportException:
ssh://733a664b01da4c8f8352a271434c0805@rich-heydoman.rhcloud.com/~/git/rich.git/: Auth
fail
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at
org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
at
org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 12 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:482)
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
... 19 more
{code}
whole stack trace:
http://pastebin.com/HF758uh3
screenshot:
* !sshexception.png|thumbnail!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira