Unhandled exception

Help
Jeff
2008-05-28
2012-10-07
  • Jeff
    Jeff
    2008-05-28

    Hi,
    I'm getting an unhandled exception error when trying to configure the sync. I'm running Windows XP and keepass 2.05
    Thanks
    Jeff

     
    • ShawnKC
      ShawnKC
      2008-05-29

      What version of KeePassSync are you using? Can you provide me with any more details? Is there a stack trace?

      -Shawn

       
    • Adrian Martin
      Adrian Martin
      2008-05-29

      IT seems that I have the same Error...

      Could not load file or assembly 'Keepass, Version=2.0.5.26559, Culture=neutral, PublicKeyToken= .....' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

      Can you help me?

       
      • ShawnKC
        ShawnKC
        2008-05-29

        What version of KeePass are you using?

         
    • Adrian Martin
      Adrian Martin
      2008-05-30

      Version 2.04 Alpha

       
      • ShawnKC
        ShawnKC
        2008-05-30

        KeePassSync 2.05 and 2.05.1 requires KeePass 2.05 Alpha. Upgrade your KeePass to 2.05 and this plugin will work.

         
    • Karl Forner
      Karl Forner
      2008-05-30

      Same here...
      Here's the stack trace :
      Consultez la fin de ce message pour plus de détails sur l'appel du débogage
      juste-à-temps (JIT) à la place de cette boîte de dialogue.

      ** Texte de l'exception **
      System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
      à KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      à System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
      à KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
      à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
      à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
      à KeePassSync.OptionsForm.ResetForm()
      à KeePassSync.OptionsForm..ctor(KeePassSyncExt mainInterface)
      à KeePassSync.KeePassSyncExt.OnMenuShowOptions(Object sender, EventArgs e)
      à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
      à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
      à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
      à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
      à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
      à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
      à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
      à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
      à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
      à System.Windows.Forms.Control.WndProc(Message& m)
      à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
      à System.Windows.Forms.ToolStrip.WndProc(Message& m)
      à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
      à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
      à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
      à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

       
      • ShawnKC
        ShawnKC
        2008-05-31

        Karl,

        Your issue is different than the others. I've been able to replicate the issue when there are no KeePassSync providers in the KeePass directory. KeePassSync cannot sync without providers and comes with the digitalbucket.net provider. Do you have that provider in the KeePass directory?

        Thanks,
        Shawn

         
        • Karl Forner
          Karl Forner
          2008-06-02

          Yes, I have put all the files ifrom the KeePassSync archive file in a plugins subdirectory.
          Moreover, I've been able to reproduce the same bug on my personal home computer, by putting all the files in the keepass main directory.

          Consultez la fin de ce message pour plus de détails sur l'appel du débogage
          juste-à-temps (JIT) à la place de cette boîte de dialogue.

          ** Texte de l'exception **
          System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
          à KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
          à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
          à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
          à System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
          à KeePassSync.OptionsForm.OnCboProviderSelectionChangeCommitted(Object sender, EventArgs e)
          à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
          à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
          à KeePassSync.OptionsForm.ResetForm()
          à KeePassSync.OptionsForm..ctor(KeePassSyncExt mainInterface)
          à KeePassSync.KeePassSyncExt.OnMenuShowOptions(Object sender, EventArgs e)
          à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
          à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
          à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
          à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
          à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
          à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
          à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
          à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
          à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
          à System.Windows.Forms.Control.WndProc(Message& m)
          à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
          à System.Windows.Forms.ToolStrip.WndProc(Message& m)
          à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
          à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
          à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
          à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

          ** Assemblys chargés **
          mscorlib
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
          ----------------------------------------
          KeePass
          Version de l'assembly : 2.0.5.26559
          Version Win32 : 2.0.5.0
          CodeBase : file:///C:/Program%20Files/utils/KeePass%20Password%20Safe/KeePass.exe
          ----------------------------------------
          System
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0b77a5c561934e089/System.dll
          ----------------------------------------
          System.Windows.Forms
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0
          b77a5c561934e089/System.Windows.Forms.dll
          ----------------------------------------
          System.Drawing
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0b03f5f7f11d50a3a/System.Drawing.dll
          ----------------------------------------
          System.Xml
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0
          b77a5c561934e089/System.Xml.dll
          ----------------------------------------
          System.Configuration
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0b03f5f7f11d50a3a/System.Configuration.dll
          ----------------------------------------
          ixqoghwn
          Version de l'assembly : 2.0.5.26559
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0
          b77a5c561934e089/System.dll
          ----------------------------------------
          mscorlib.resources
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.832 (QFE.050727-8300)
          CodeBase : file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
          ----------------------------------------
          System.Windows.Forms.resources
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.42 (RTM.050727-4200)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
          ----------------------------------------
          KeePassSync
          Version de l'assembly : 2.0.5.1
          Version Win32 : 2.0.5.1
          CodeBase : file:///C:/Program%20Files/utils/KeePass%20Password%20Safe/plugins/KeePassSync.dll
          ----------------------------------------
          System.Security
          Version de l'assembly : 2.0.0.0
          Version Win32 : 2.0.50727.42 (RTM.050727-4200)
          CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
          ----------------------------------------

          ** Débogage JIT **
          Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
          application ou cet ordinateur (machine.config) doit avoir la valeur
          jitDebugging définie dans la section system.windows.forms.
          L'application doit également être compilée avec le débogage
          activé.

          Par exemple :

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

          Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
          seront envoyées au débogueur JIT inscrit sur l'ordinateur
          plutôt que d'être gérées par cette boîte de dialogue.

           
          • ShawnKC
            ShawnKC
            2008-06-02

            Well, it sure does act like you don't have the digitalbucket.net provider installed. The assemply list you've supplied doesn't show that it's loaded. If you've got both DLLs in the KeePass directory, I'm not sure why this would happen. However, I have an update to the code base that will handle it a bit better. At least it will tell you no providers have been installed and won't crash.

            That will be in the next version 2.05.2.

            Thanks,
            Shawn

             
    • inuxa
      inuxa
      2008-06-22

      Hello,

      To resolv ,uninstall previous keepass version, install keepass programm, create keepass database, install plugin Sync, and move database in keepass folder.

      thanks you shownkc !

       
    • tof sxb
      tof sxb
      2008-06-23

      Hello,

      same error for me
      " Consultez la fin de ce message pour plus de détails sur l'appel du débogage
      juste-à-temps (JIT) à la place de cette boîte de dialogue.
      ** Texte de l'exception **
      System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet. "

      "Resolved" by downloading and copying the .kdbx file from digitalbucklet into keepass folder...

      Error maybe caused by deleting and/or moving items and groups before sync, not sure...
      In Tools/KeepassSync, only "Show Options" was enabled and it hangs with JIT error when clicking

      hope it helps...

       
    • Gadi Oron
      Gadi Oron
      2008-07-16

      I've found a quick solution for this issue.

      Simply change the KeePass shortcut so that KeePass will start in it's directory.

      You can also use the file explorer to launch it from it's directory and everything will work fine.

      Ciao

       
    • ShawnKC
      ShawnKC
      2008-08-07

      Version 2.05.2 is released and fixes many of these stability issues including installing the plugin in its own folder.