]
Matej Kralik updated TEIIDDES-2906:
-----------------------------------
Workaround Description: Change password (on the server) which doesn't contain
exclamation mark.
Server editor doesn't save teiid password when contains
exclamation mark
------------------------------------------------------------------------
Key: TEIIDDES-2906
URL:
https://issues.jboss.org/browse/TEIIDDES-2906
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 10.0.1
Environment: Fedora 24
Reporter: Matej Kralik
Priority: Critical
Attachments: password.mkv
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 :
{code:java}
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)
{code}