Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25673

New Application Wizard: launching new app wizard errors about previously killed project (open.paas.redhat.com)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.2.Final
    • Fix Version/s: 4.6.0.AM2
    • Component/s: openshift
    • Labels:
      None

      Description

      steps:

      1. ASSERT: have a connection to open.paas.redhat.com
      2. EXEC: create a new project (ex. called "dromedary")
      3. EXEC: delete this project
      4. EXEC: immediately after deleting it, launch new application wizard

      Result:
      Launching errors complaining about the project that you deleted right before launching the wizard

      In the Eclipse log you find the following:

      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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dbocharov Dmitrii Bocharov
                  Reporter:
                  adietish André Dietisheim
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: