#1229 Unhandled exception in Update Check dialog

KeePass_2.x
closed
nobody
None
5
2014-11-13
2014-03-30
Dabombber
No

Steps to reproduce:

  • Set LastUpdateCheck in %appdata%\KeePass\KeePass.config.xml to a day or so ago (and I guess have auto update checks enabled)
  • Start KeePass, close the Open Database dialog is there's a default database
  • From the menu, select Help > Check for Update
************** Exception Text **************
System.InvalidOperationException: Object is currently in use elsewhere.
   at System.Drawing.Image.get_Width()
   at System.Drawing.Image.get_Size()
   at System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
   at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Discussion

  • Dominik Reichl
    Dominik Reichl
    2014-04-04

    Although I cannot reproduce this issue, I have an idea what might have caused it on your machine, and have added a workaround.

    Here's the latest development snapshot for testing:
    http://keepass.info/filepool/KeePass_140404.zip

    Thanks and best regards,
    Dominik

     
  • Dominik Reichl
    Dominik Reichl
    2014-04-04

    • status: open --> closed
     
  • Marc
    Marc
    2014-04-06

    I noticed the version number now says 2.24 instead of 2.25 like the last development snapshot. I realized this because it prompted me to update to 2.25.

     
  • Dominik Reichl
    Dominik Reichl
    2014-04-07

    This is correct. For testing the issue, I've set the version number to 2.24.

    Best regards,
    Dominik