Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3229

Could not save password for server in secure storage

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.3.0
    • Fix Version/s: None
    • Component/s: Server Adapters
    • Labels:
      None
    • Environment:
      • Mac OS X
      • DevStudio 12.11.0.GA
      • Red Hat Fuse Server Core Plugin for Apache Karaf 11.3.0.v20190405-1111 (org.fusesource.ide.server.karaf.core)
      • Fuse 7.2.0.GA
    • Steps to Reproduce:
      1. in Servers view click on add new server
      2. Finish server creation wizard
      3. See Error log

      Description

      org.eclipse.equinox.security.storage.StorageException: No password provided.
      	at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:242)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:128)
      	at org.jboss.ide.eclipse.as.wtp.core.util.ServerSecureStorageUtil.storeInSecureStorage(ServerSecureStorageUtil.java:68)
      	at org.fusesource.ide.server.karaf.core.server.KarafServerDelegate.setPassword(KarafServerDelegate.java:108)
      	at org.fusesource.ide.server.karaf.ui.runtime.AbstractKarafServerWizardFragment.updateServer(AbstractKarafServerWizardFragment.java:121)
      	at org.fusesource.ide.server.karaf.ui.runtime.AbstractKarafServerWizardFragment.performFinish(AbstractKarafServerWizardFragment.java:60)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.executeTask(TaskWizard.java:270)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard$2.run(TaskWizard.java:217)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
      	at org.eclipse.wst.server.ui.internal.wizard.page.WorkspaceRunnableAdapter.run(WorkspaceRunnableAdapter.java:37)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      

      org.eclipse.equinox.security:

      java.lang.SecurityException: Could not obtain password.  Result: -25293
      	at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method)
      	at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:49)
      	at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:38)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:266)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:231)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:229)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:128)
      	at org.jboss.ide.eclipse.as.wtp.core.util.ServerSecureStorageUtil.storeInSecureStorage(ServerSecureStorageUtil.java:68)
      	at org.fusesource.ide.server.karaf.core.server.KarafServerDelegate.setPassword(KarafServerDelegate.java:108)
      	at org.fusesource.ide.server.karaf.ui.runtime.AbstractKarafServerWizardFragment.updateServer(AbstractKarafServerWizardFragment.java:121)
      	at org.fusesource.ide.server.karaf.ui.runtime.AbstractKarafServerWizardFragment.performFinish(AbstractKarafServerWizardFragment.java:60)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.executeTask(TaskWizard.java:270)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard$2.run(TaskWizard.java:217)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
      	at org.eclipse.wst.server.ui.internal.wizard.page.WorkspaceRunnableAdapter.run(WorkspaceRunnableAdapter.java:37)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                djelinek Dominik Jelínek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: