Menu

#1426 External component has thrown an exception

KeePass_2.x
closed
nobody
None
5
2015-09-17
2015-09-14
Koren Yaron
No

Hi,
After long time using without any problem today I got an error regarding the http plugin. After that the program crashes every time with the following report:

External component has thrown an exception.
mscorlib
at System.Globalization.CompareInfo.InternalCompareString(IntPtr handle, IntPtr handleOrigin, String localeName, String string1, Int32 offset1, Int32 length1, String string2, Int32 offset2, Int32 length2, Int32 flags)
at System.Globalization.CompareInfo.Compare(String string1, Int32 offset1, Int32 length1, String string2, Int32 offset2, Int32 length2, CompareOptions options)
at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, CultureInfo culture, CompareOptions options)
at System.Globalization.DateTimeFormatInfo.InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, Int32 tokenValue)
at System.Globalization.DateTimeFormatInfo.CreateTokenHashTable()
at System.Globalization.DateTimeFormatInfo.Tokenize(TokenType TokenMask, TokenType& tokenType, Int32& tokenValue, __DTString& str)
at System.__DTString.GetSeparatorToken(DateTimeFormatInfo dtfi, Int32& indexBeforeSeparator, Char& charBeforeSeparator)
at System.DateTimeParse.Lex(DS dps, __DTString& str, DateTimeToken& dtok, DateTimeRawInfo& raw, DateTimeResult& result, DateTimeFormatInfo& dtfi, DateTimeStyles styles)
at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult& result)
at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTime& result)
at System.DateTime.TryParse(String s, DateTime& result)
at KeePassLib.Utility.TimeUtil.TryDeserializeUtc(String str, DateTime& dt)
at KeePass.Util.UpdateCheckEx.Run(Boolean bForceUI, Form fOptParent)
at KeePass.Forms.MainForm.OnFormLoad(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at KeePass.Forms.MainForm.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)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at KeePass.Forms.MainForm.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at KeePass.Program.Main(String[] args)
Int32 InternalCompareString(IntPtr, IntPtr, System.String, System.String, Int32, Int32, System.String, Int32, Int32, Int32)

Discussion

  • Paul

    Paul - 2015-09-15

    Try removibg the plu-in.

    cheers, Paul

     
  • Koren Yaron

    Koren Yaron - 2015-09-17

    Hi Paul,
    Thanks for your suggestion, but I've tried it. Also tried uninstalling keepass, removing any reference I could find to keepass or its plugins (C:\Users\User Name\AppData\Local\VirtualStore\Program Files\KeePass Password Safe 2,C:\Users\User Name\AppData\Roaming\KeePass\KeePass.config.xml etc), restarting and installing again. Same results.
    Is there a way to figure out from the report what exactly is the problem?
    Thanks, Yaron

     
  • Koren Yaron

    Koren Yaron - 2015-09-17

    Hi,
    Going back to 2.29 fixed it.

     
  • Paul

    Paul - 2015-09-17

    Seems the plug-in is not compatible with KP 2.30. You should alert the plug-in author.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2015-09-17
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2015-09-17

    Not a single line was changed (from KeePass 2.29 to 2.30) in the code of the stack trace. Thus I agree with Paul that the error must be caused externally, e.g. through a plugin incompatibility or a broken .NET installation.

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB