Exception Trying To Open Options

Help
2008-06-27
2012-10-07
  • David P. White

    David P. White - 2008-06-27

    Have just installed KeyPass 2.05 alpha. Created a new database and imported entries from my version 1 database. Then got KeyPassSync 2.05.1 beta and unzipped into its own directory under KeyPass. I now see the plugin in the list and try to open the Options Menu. I get the following exception. I have tried moving the database under KeyPass directly (was on another drive initially) - no difference. I checked and the DigitalBucket dll is there. Any ideas? Thanks, David

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ** Exception Text **
    System.NullReferenceException: Object reference not set to an instance of an object.
    at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
    at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
    at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
    at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
    at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
    at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at KeePassSync.OptionsForm.ResetForm()
    at KeePassSync.OptionsForm..ctor(KeePassSyncExt mainInterface)
    at KeePassSync.KeePassSyncExt.OnMenuShowOptions(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ** Loaded Assemblies **
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    KeePass
    Assembly Version: 2.0.5.26559
    Win32 Version: 2.0.5.0
    CodeBase: file:///C:/KeePass/KeePass.exe
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0
    b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0
    b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    oiyylchf
    Assembly Version: 2.0.5.26559
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0
    b77a5c561934e089/System.dll
    ----------------------------------------
    KeePassSync
    Assembly Version: 2.0.5.1
    Win32 Version: 2.0.5.1
    CodeBase: file:///C:/KeePass/KeyPassSync/KeePassSync.dll
    ----------------------------------------
    System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    ----------------------------------------

    ** JIT Debugging **
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

     
    • David P. White

      David P. White - 2008-07-02

      Thanks Shawn,

      That doesn't seem to help. I moved the two dlls into the keypass dir and deleted the subfolder. I still get the error below. I am not sure why putting the plugin into its own directory should break things as that has always been a supported thing to do.

      Let me know if there is anything else I can do to try and characterize the problem.

      BTW - this is on XP Pro SP3.

      David

      See the end of this message for details on invoking
      just-in-time (JIT) debugging instead of this dialog box.

      ** Exception Text **
      System.NullReferenceException: Object reference not set to an instance of an object.
      at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
      at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      at KeePassSync.OptionsForm.ResetForm()
      at KeePassSync.OptionsForm..ctor(KeePassSyncExt mainInterface)
      at KeePassSync.KeePassSyncExt.OnMenuShowOptions(Object sender, EventArgs e)
      at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
      at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
      at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
      at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
      at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
      at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
      at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
      at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
      at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
      at System.Windows.Forms.Control.WndProc(Message& m)
      at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
      at System.Windows.Forms.ToolStrip.WndProc(Message& m)
      at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      ** Loaded Assemblies **
      mscorlib
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
      ----------------------------------------
      KeePass
      Assembly Version: 2.0.5.26559
      Win32 Version: 2.0.5.0
      CodeBase: file:///C:/KeePass/KeePass.exe
      ----------------------------------------
      System
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0b77a5c561934e089/System.dll
      ----------------------------------------
      System.Windows.Forms
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0
      b77a5c561934e089/System.Windows.Forms.dll
      ----------------------------------------
      System.Drawing
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0b03f5f7f11d50a3a/System.Drawing.dll
      ----------------------------------------
      System.Xml
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0
      b77a5c561934e089/System.Xml.dll
      ----------------------------------------
      System.Configuration
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0b03f5f7f11d50a3a/System.Configuration.dll
      ----------------------------------------
      ccipcs6m
      Assembly Version: 2.0.5.26559
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0
      b77a5c561934e089/System.dll
      ----------------------------------------
      KeePassSync
      Assembly Version: 2.0.5.1
      Win32 Version: 2.0.5.1
      CodeBase: file:///C:/KeePass/KeePassSync.DLL
      ----------------------------------------
      System.Security
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
      ----------------------------------------

      ** JIT Debugging **
      To enable just-in-time (JIT) debugging, the .config file for this
      application or computer (machine.config) must have the
      jitDebugging value set in the system.windows.forms section.
      The application must also be compiled with debugging
      enabled.

      For example:

      <configuration>
      <system.windows.forms jitDebugging="true" />
      </configuration>

      When JIT debugging is enabled, any unhandled exception
      will be sent to the JIT debugger registered on the computer
      rather than be handled by this dialog box.

       
    • Stewart Anderson

      Hi, I get this exception. I've tried un-install and re-install and putting fresh DLLS in KeePAss directory, putting the DLLs in separate sub dir etc, but get the same result.

      See the end of this message for details on invoking
      just-in-time (JIT) debugging instead of this dialog box.

      ** Exception Text **
      System.NullReferenceException: Object reference not set to an instance of an object.
      at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
      at KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      at KeePassSync.OptionsForm.ResetForm()
      at KeePassSync.OptionsForm..ctor(KeePassSyncExt mainInterface)
      at KeePassSync.KeePassSyncExt.OnMenuShowOptions(Object sender, EventArgs e)
      at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
      at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
      at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
      at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
      at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
      at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
      at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
      at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
      at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
      at System.Windows.Forms.Control.WndProc(Message& m)
      at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
      at System.Windows.Forms.ToolStrip.WndProc(Message& m)
      at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      ** Loaded Assemblies **
      mscorlib
      Assembly Version: 2.0.0.0
      Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
      CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscor

       
    • ShawnKC

      ShawnKC - 2008-06-29

      David,

      I wonder if this is because you put KeePassSync in its own folder. It's probably crashing because it can't find the digitalbucket.net files as I don't see them loaded in your dump. Try moving all the files to the main KeePass folder and let me know if that fixes it. By the way, the crash will be handled better in the next version.

      Thanks,
      Shawn

       
      • mxx

        mxx - 2008-07-29

        I was getting similar crash as well.
        As per your suggestion i moved KeePassSync.dll and KeePassSync_DigitalBucket.dll out of "C:\Program Files (x86)\KeePass Password Safe\Plugins\KeePassSync\&quot; into "C:\Program Files (x86)\KeePass Password Safe\&quot; and it started to work.

         
        • ShawnKC

          ShawnKC - 2008-07-30

          Glad to hear it. You should be aware that this is already fixed in the version in the tree and will be in the next build. I appreciate all of your help in making this a better plugin. Also look for the built-in FTP/SCP support.

          Thanks,
          Shawn

           
          • mxx

            mxx - 2008-08-01

            Actually somewhat bad news.
            If i start keepass w/ my regular account, i get a small error window with the following text "There has been an unhandled exception on the options provider".
            Clicking OK brings up keepass but keepasssync is missing.
            So i have to start keepass with "Run As Administrator" option...

             
    • ShawnKC

      ShawnKC - 2008-08-07

      Try out Keepass 2.05.2 for fixing most of these issues. I haven't heard of the "run as administrator" issue, I'll have to take a look at that if this doesn't fix it.

      Thanks,
      Shawn

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks