Category: | Bug report |
Priority: | High |
Status: | Closed |
Project: | Severity: | Major |
Resolution: | Fixed |
|
Component: | Reproducibility: | Always |
Assigned to: |
After resetting the password to one of my data adapters, I click the Dataset and Query button in an open report and recieve this error message:
org.eclipse.equinox.security.storage.StorageException: No password provided.
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:237)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
at net.sf.jasperreports.eclipse.util.SecureStorageUtils.saveToDefaultSecurePreferences(SecureStorageUtils.java:126)
at com.jaspersoft.studio.swt.widgets.WSecretText.persistSecret(WSecretText.java:78)
at com.jaspersoft.studio.data.jdbc.JDBCDataAdapterComposite.performAdditionalUpdates(JDBCDataAdapterComposite.java:466)
at com.jaspersoft.studio.data.wizard.pages.DataAdapterEditorPage.performFinishInvoked(DataAdapterEditorPage.java:269)
at com.jaspersoft.studio.data.wizard.DataAdapterWizard.performFinish(DataAdapterWizard.java:84)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.jaspersoft.studio.data.actions.EditDataAdapterAction.run(EditDataAdapterAction.java:69)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.jaspersoft.studio.pro.rcp.JSSProApplication.start(JSSProApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
I can not run any reports due to this error which was not happening last week. I'm not sure what, if anything, was changed on my system.
3 Comments:
I resolved this issue by following the steps below in JSS:
Go to Windows -> Preferences -> General -> Security -> Secure Storage
Highlight Windows Integration (64 bit) and click Change Password. Follow prompts. I also set Recovery options.
Highlight UI Prompt and click Change Password. When asked for a password, I entered my new windows password - I did not set up recovery.
------
It seems this is an issue when my local password was modified on my system that affected the Eclipse secure password manager. I tried removing the Eclipse secure password repo as per suggested online, but that didn't seem to work with JSS. I could only fix it by following the steps above.
Please check also this article on the wiki: http://community.jaspersoft.com/wiki/eclipse-secure-storage-jaspersoft-s...
Indeed changing the system password can cause this kind of problems with the Eclipse Secure Storage.
If not really needed, I suggest you to disable the mechanism and re-enter all the passwords for DA and JRS connection. They will be persisted in clear text as usual (same as iReport).
Or you can use the UI prompt solution.
Regards,
Massimo.
Thank you very much, Massimo for that link. Not sure why I didn't find it. That helps as I do prefer to disable the mechanism altogether for my local machine. I was able to successfully do this with the info at the link provided.
-Mike