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

Cannot connect to existing v3 connection after restart

    XMLWordPrintable

Details

    • Hide

      ASSERT: Make sure you have a v3 connection in OpenShift explorer view, where you are are connected.
      ASSERT: You can list resources / expand connection.
      EXEC: Restart eclipse (to let the IDE prompt for OpenShift password)
      EXEC: Double click / expand v3 connection in OpenShift explorer view.

      RESULT: Error dialog with message is shown.
      EXPECTED RESULT: Connection shell is shown (similar as for v2 connection).

      Show
      ASSERT: Make sure you have a v3 connection in OpenShift explorer view, where you are are connected. ASSERT: You can list resources / expand connection. EXEC: Restart eclipse (to let the IDE prompt for OpenShift password) EXEC: Double click / expand v3 connection in OpenShift explorer view. RESULT: Error dialog with message is shown. EXPECTED RESULT: Connection shell is shown (similar as for v2 connection).

    Description

      When trying to reconnect to OpenShift v3 connection (e.g. after opening Eclipse) there is a error dialog after attempt to work with the connection.

      Error dialog message:
      "An internal error occurred during: "Loading OpenShift resources...".
      java.lang.RuntimeException: Version 'v1beta3' not supported for kind 'Status'"

      Stack:
      java.lang.RuntimeException: java.lang.RuntimeException: Version 'v1beta3' not supported for kind 'Status'
      at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:111)
      at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:95)
      at com.openshift.internal.restclient.DefaultClient.handleHttpClientException(DefaultClient.java:354)
      at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:116)
      at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:97)
      at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:92)
      at org.jboss.tools.openshift.core.connection.Connection.get(Connection.java:255)
      at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:67)
      at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:124)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.RuntimeException: Version 'v1beta3' not supported for kind 'Status'
      at com.openshift.internal.restclient.model.properties.ResourcePropertiesRegistry.get(ResourcePropertiesRegistry.java:135)
      at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:107)
      ... 9 more

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: