Jump to content
  • JasperReports Server Access Configuration


    tonyy
    Assigned User anonymous
    CategoryBug report
    PriorityHigh
    ReproducibilityAlways
    ResolutionNo Change Required
    SeverityMajor
    StatusClosed
    Versionv5.5.1

    During "Server Access Configuration" when trying to add server to connect to JasperServer from JasperSoft Studio.

     

    After entering correct parameters:

     

    1. Pressing test connection -> "Succesful"

    2. Pressing Finish

    3. Receiving error Messages: No Password Provided and logically "Unauthorized from REST"

     

     

    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.server.wizard.pages.ServerProfilePage.performFinishInvoked(ServerProfilePage.java:344)

    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.performFinish(ServerProfileWizard.java:60)

    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.Display.sendEvent(Display.java:4136)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)

    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at com.jaspersoft.studio.server.action.server.EditServerAction.run(EditServerAction.java:72)

    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.Display.sendEvent(Display.java:4136)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)

    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)

    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.rcp.intro.Application.start(Application.java:97)

    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(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    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)

     

    It seems the field rewrites the password field to null after clicking finish.

     

     



    User Feedback

    Recommended Comments

    Changed Status from New to Feedback Requested

    Changed Assigned User from @User_306070 to @anonymous


    It's an issue related to the Eclipse Secure Storage. Disable this feature going in "Window > Preferences > Jaspersoft Studio > Global Settings" and uncheck "Use the Secure Storage to save credentials".Did you perform an update from a previous Jaspersoft Studio version (i.e: 5.5.0)? Or 5.5.1 was the first JSS version you installed?Regards,Massimo.
    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...