System.NullReferenceException when closing KeePass

Help
2014-04-22
2014-04-23
  • Adam Piggott

    Adam Piggott - 2014-04-22

    Hello,

    When closing KeePass 2.26 after making changes to the database (using Windows 7 SP1 64-bit) I had the following exception. I'm unable to re-create the fault. No other applications or other .NET problems have been experienced on the system. Not using any KeePass plugins. As it seems to be a one-off I am not sure if any further diagnosis or remedy is possible, but if anyone is able to offer help it would be appreciated.

    Application: KeePass.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    Stack:
    at KeePass.Forms.MainForm.CleanUpEx()
    at KeePass.Forms.MainForm.OnFormClosing(System.Object, System.Windows.Forms.FormClosingEventArgs)
    at System.Windows.Forms.Form.RaiseFormClosingOnAppExit()
    at System.Windows.Forms.Application.ExitInternal()
    at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
    at Microsoft.Win32.UnsafeNativeMethods.DefWindowProc(IntPtr, Int32, IntPtr, IntPtr)
    at Microsoft.Win32.UnsafeNativeMethods.DefWindowProc(IntPtr, Int32, IntPtr, IntPtr)
    at Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)
    at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(System.Runtime.InteropServices.HandleRef)
    at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(System.Runtime.InteropServices.HandleRef)
    at System.Windows.Forms.NativeWindow.DestroyHandle()
    at System.Windows.Forms.Control.DestroyHandle()
    at System.Windows.Forms.Control.RecreateHandleCore()
    at System.Windows.Forms.ComboBox.RecreateHandleCore()
    at System.Windows.Forms.ComboBox.SetAutoComplete(Boolean, Boolean)
    at System.Windows.Forms.ComboBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object, System.EventArgs)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs)
    at System.Windows.Forms.Control.CreateControl(Boolean)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
    at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
    at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
    at KeePass.Forms.MainForm.WndProc(System.Windows.Forms.Message ByRef)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
    at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
    at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
    at System.Windows.Forms.Control.SetVisibleCore(Boolean)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean)
    at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
    at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
    at KeePass.Program.Main(System.String[])

     
    Last edit: Adam Piggott 2014-04-22
  • Paul

    Paul - 2014-04-23

    Did the changes save?
    Did you see any other issues at that time?

    cheers, Paul

     

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

Sign up for the SourceForge newsletter:





No, thanks