Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard crash on FocusLost #258

Open
nosami opened this issue Jun 26, 2019 · 1 comment
Open

Hard crash on FocusLost #258

nosami opened this issue Jun 26, 2019 · 1 comment

Comments

@nosami
Copy link
Owner

nosami commented Jun 26, 2019

ERROR [2019-06-26 13:58:10Z]: An unhandled exception has occurred. Terminating Visual Studio? False
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key '/Users/jasonimison/Projects/newtonsoftpdbpackage/newtonsoftpdbpackage/Program.cs' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-02/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:226
  at <StartupCode$XSVim>.$Addin+focusLost@136-4.Invoke (System.EventArgs _arg3) [0x00000] in <5cf5019b2429f754a74503839b01f55c>:0
  at Microsoft.FSharp.Control.CommonExtensions+SubscribeToObservable@1722[T].System-IObserver`1-OnNext (T args) [0x00000] in <5c64a986dff9fae1a745038386a9645c>:0
  at Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers+h@349[TArgs].Invoke (System.Object _arg1, TArgs args) [0x00000] in <5c64a986dff9fae1a745038386a9645c>:0
  at <StartupCode$XSVim>.$Addin+focusLost@135-3.Invoke (System.Object delegateArg0, System.EventArgs delegateArg1) [0x00000] in <5cf5019b2429f754a74503839b01f55c>:0
  at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)
  at MonoDevelop.SourceEditor.SourceEditorView.TextArea_FocusOutEvent (System.Object o, Gtk.FocusOutEventArgs args) [0x00000] in /Users/vsts/agent/2.1
@nosami
Copy link
Owner Author

nosami commented Jul 29, 2019

Just saw this error again while looking at a sourcelink file and then deleting the file on disk while the IDE was still running.
Probably just needs a simple check to see if the key exists and ignore if it doesn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant