]
Andre Dietisheim updated JBIDE-25673:
-------------------------------------
Workaround Description: launch new app wizard a 2nd time.
Workaround: Workaround Exists
New Application Wizard: launching new app wizard errors about
previously killed project (
open.paas.redhat.com)
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-25673
URL:
https://issues.jboss.org/browse/JBIDE-25673
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.5.2.Final
Reporter: Andre Dietisheim
Fix For: 4.5.x
Attachments: image-2018-01-29-15-55-13-151.png
steps:
# ASSERT: have a connection to
open.paas.redhat.com
# EXEC: create a new project (ex. called "dromedary")
# EXEC: delete this project
# EXEC: immediately after deleting it, launch new application wizard
Result:
Launching errors complaining about the project that you deleted right before launching
the wizard
!image-2018-01-29-15-55-13-151.png!
In the Eclipse log you find the following:
{code}
com.openshift.restclient.authorization.ResourceForbiddenException: User
"adietish" cannot list imagestreams in project "dromedary" User
"adietish" cannot list imagestreams in project "dromedary"
at
com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:106)
at
com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:257)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:228)
at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:161)
at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:149)
at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:137)
at
org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:471)
at
org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.loadImageStreams(ApplicationSourceTreeItems.java:66)
at
org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.createChildren(ApplicationSourceTreeItems.java:59)
at
org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.loadChildren(ObservableTreeItem.java:69)
at
org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:56)
at
org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:59)
at
org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.loadResources(NewApplicationWizardModel.java:244)
at
org.jboss.tools.openshift.internal.ui.wizard.common.AbstractProjectPage$4.doRun(AbstractProjectPage.java:221)
at
org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}