Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2906

Server editor doesn't save teiid password when contains exclamation mark

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 11.0.1
    • 10.0.1
    • Editors
    • None
    • Hide
      1. Instal new teiid designer
      2. Open the designer and add server
      3. fill in any password without exclamation mark
      4. save (password is saved)
      5. fill in any password with exclamation mark
      6. save (password is not saved)
      Show
      Instal new teiid designer Open the designer and add server fill in any password without exclamation mark save (password is saved) fill in any password with exclamation mark save (password is not saved)
    • Hide

      Change password (on the server) which doesn't contain exclamation mark.
      or
      Close JBDS and delete ~/.eclipse/org.eclipse.equinox.security folder

      Show
      Change password (on the server) which doesn't contain exclamation mark. or Close JBDS and delete ~/.eclipse/org.eclipse.equinox.security folder

      When I want to set a password for the teiid user, the teiid designer doesn't save it. My password contains exclamation mark. I think that this is the problem. In the attachments, I upload video. The first time a fill in the password without exclamation mark and save. Next, I add exclamation mark but the password is not saved. Next, I remove exclamation mark and save. The password is saved. Finally, I copy/paste exclamation mark. The password is not saved.

      In the error log is this error : Unable to decrypt entry encoded with default password as no default password is currently specified.

      Stack trace :

      org.eclipse.equinox.security.storage.StorageException: Unable to decrypt entry encoded with default password as no default password is currently specified.
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:221)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262)
      	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
      	at org.teiid.datatools.connectivity.security.impl.EquinoxSecureStorageProvider.getFromSecureStorage(EquinoxSecureStorageProvider.java:67)
      	at org.teiid.designer.runtime.TeiidConnectionInfo.retrievePassword(TeiidConnectionInfo.java:230)
      	at org.teiid.designer.runtime.TeiidConnectionInfo.getPassword(TeiidConnectionInfo.java:299)
      	at org.teiid.designer.runtime.ui.server.editor.TeiidServerEditor$1$1$1.run(TeiidServerEditor.java:168)
      	at org.teiid.designer.ui.common.util.UiUtil.runInSwtThread(UiUtil.java:543)
      	at org.teiid.designer.runtime.ui.server.editor.TeiidServerEditor$1$1.run(TeiidServerEditor.java:171)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      

            blafond Barry LaFond
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: