[jbosstools-issues] [JBoss JIRA] (JBIDE-21829) Error while opening Eclipse with OpenShift Server Editor opened

Xavier Coulon (JIRA) issues at jboss.org
Tue Mar 8 09:59:00 EST 2016


Xavier Coulon created JBIDE-21829:
-------------------------------------

             Summary: Error while opening Eclipse with OpenShift Server Editor opened
                 Key: JBIDE-21829
                 URL: https://issues.jboss.org/browse/JBIDE-21829
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.3.1.Beta2
            Reporter: Xavier Coulon


I get the following error when my runtime Eclipse starts with the Server Editor opened on an OpenShift Server Adapter:

{code}
!ENTRY org.eclipse.core.jobs 4 2 2016-03-08 15:54:58.597
!MESSAGE An internal error occurred during: "Setting connection, deploy project...".
!STACK 0
com.openshift.restclient.authorization.ResourceForbiddenException: User "test-admin" cannot list all services in the cluster
	at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:477)
	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:152)
	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:133)
	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:128)
	at org.jboss.tools.openshift.core.connection.Connection.retryList(Connection.java:434)
	at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:377)
	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:267)
	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:256)
	at org.jboss.tools.openshift.internal.ui.server.OpenShiftServerEditorSection$13.run(OpenShiftServerEditorSection.java:486)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}

On the other hand, this error does not happen when the editor is closed at start-up and opened later on...



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list