[jbosstools-issues] [JBoss JIRA] (JBIDE-16976) import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jan 8 18:15:31 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-16976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-16976:
-------------------------------------
    Fix Version/s: LATER
                       (was: 4.2.x)


> import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-16976
>                 URL: https://issues.jboss.org/browse/JBIDE-16976
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Marián Labuda
>            Priority: Minor
>              Labels: application_wizard
>             Fix For: LATER
>
>         Attachments: error_dialog.png
>
>
> When creating application and following import (git clone after creation process is completed) in case of no SSH key/not added into preferences dialog there is a error dialog with description, that something went wrong during git clone (respectively creating local git repo) and exception thrown. 
> !error_dialog.png!
> It would be nice to have in the dialog, that problem is caused by missing SSH key or at least remove InvocationTargetException from error message - it is useless for user.
> Error log stack trace 
> {code}
> java.lang.reflect.InvocationTargetException
> 	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:176)
> 	at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:169)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.ImportNewProject.execute(ImportNewProject.java:77)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.importProject(OpenShiftApplicationWizardModel.java:103)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:353)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: java.lang.IllegalStateException: Preference node "null" has been removed.
> 	at org.eclipse.equinox.internal.security.storage.SecurePreferences.checkRemoved(SecurePreferences.java:354)
> 	at org.eclipse.equinox.internal.security.storage.SecurePreferences.nodeExists(SecurePreferences.java:100)
> 	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.nodeExists(SecurePreferencesWrapper.java:94)
> 	at org.eclipse.egit.core.securestorage.EGitSecureStore.clearCredentials(EGitSecureStore.java:108)
> 	at org.eclipse.egit.ui.internal.credentials.EGitCredentialsProvider.reset(EGitCredentialsProvider.java:142)
> 	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:125)
> 	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:1111)
> 	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
> 	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:156)
> 	... 7 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list