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

Secure storage error upon creating a connection to stg v3 server or refreshing an existing one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.3.0.CR1
    • 4.3.0.Beta2
    • openshift

      Right after new OpenShift v3 connection to staging server is created OR the existing OpenShift v3 connection to stagins server is refreshed, there is an error in error log. The error pop up twice in error log. After calling refresh on a connection, connection is refreshed altough the existance of the error.

      Stack trace of error:

      Exception saving connection property
      
      org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not remove value token
      	at org.jboss.tools.openshift.internal.common.core.security.SecureStore.remove(SecureStore.java:75)
      	at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:181)
      	at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:151)
      	at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:200)
      	at org.jboss.tools.openshift.core.connection.Connection.refresh(Connection.java:299)
      	at org.jboss.tools.openshift.internal.ui.handler.RefreshResourceHandler$1.doRun(RefreshResourceHandler.java:85)
      	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.IllegalArgumentException: Node path "org.jboss.tools.openshift.core/console.stg.openshift.com//mlabuda@redhat.com" is not valid.
      	at org.eclipse.equinox.internal.security.storage.SecurePreferences.validatePath(SecurePreferences.java:361)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferences.node(SecurePreferences.java:95)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.node(SecurePreferencesWrapper.java:83)
      	at org.jboss.tools.openshift.internal.common.core.security.SecureStore.getNode(SecureStore.java:114)
      	at org.jboss.tools.openshift.internal.common.core.security.SecureStore.remove(SecureStore.java:72)
      	... 7 more
      

            jcantril@redhat.com Jeffrey Cantrill
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: