[
https://issues.jboss.org/browse/JBIDE-19644?page=com.atlassian.jira.plugi...
]
Marián Labuda updated JBIDE-19644:
----------------------------------
Steps to Reproduce:
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).
was:
ASSERT: Make sure you have a v3 connection in OpenShift explorer view, where you are are
connected.
ASSERT: You can
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).
Cannot connect to existing v3 connection after restart
------------------------------------------------------
Key: JBIDE-19644
URL:
https://issues.jboss.org/browse/JBIDE-19644
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.0.Alpha2
Reporter: Marián Labuda
Assignee: Andre Dietisheim
Labels: connection_wizard
Fix For: 4.3.0.Alpha2
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
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)