Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-259

NPE when trying to turn back on "save password" on connection properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.1.0
    • studio-connection
    • None
    • OS X 10.5, Java 5, Apache DS

    Description

      I get an NullPointerException when I try to turn on the save password property on a existing connection. It does not matter if the connection is currently up or not.

      !ENTRY org.eclipse.jface 4 0 2008-01-10 13:48:06.390
      !MESSAGE java.lang.NullPointerException
      !STACK 0
      java.lang.NullPointerException
      at org.apache.directory.studio.connection.ui.widgets.AuthenticationParameterPage.isReconnectionRequired(Unknown Source)
      at org.apache.directory.studio.connection.ui.widgets.AuthenticationParameterPage.areParametersModifed(Unknown Source)
      at org.apache.directory.studio.connection.ui.properties.ConnectionPropertyPage.performOk(Unknown Source)
      at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:889)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.java:843)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
      at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:869)
      at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:377)
      at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230)
      at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      at org.eclipse.jface.window.Window.open(Window.java:796)
      at org.apache.directory.studio.connection.ui.actions.PropertiesAction.run(Unknown Source)
      at org.apache.directory.studio.connection.ui.actions.StudioActionProxy.run(Unknown Source)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.apache.directory.studio.Application.run(Unknown Source)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      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:585)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)

      Attachments

        Activity

          People

            seelmann Stefan Seelmann
            torgeir@pobox.com Torgeir Veimo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: