Skip to content

Instantly share code, notes, and snippets.

@atin360
Created January 18, 2013 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atin360/4563067 to your computer and use it in GitHub Desktop.
Save atin360/4563067 to your computer and use it in GitHub Desktop.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.InvalidCastException: Specified cast is not valid.
at System.Windows.Forms.UnsafeNativeMethods.IHTMLDocument2.GetLocation()
at System.Windows.Forms.WebBrowser.get_Document()
at Xamarin.Ide.Windows.ComponentBrowserThreadWrapper.LoadLoadingPage(WindowsComponentStoreBrowser browser)
at Xamarin.Ide.Windows.WindowsComponentStoreBrowser.<ResetInternetChecker>b__2(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.InvalidCastException: Specified cast is not valid.
at System.Windows.Forms.UnsafeNativeMethods.IHTMLDocument2.GetLocation()
at System.Windows.Forms.WebBrowser.get_Document()
at Xamarin.Ide.Windows.ComponentBrowserThreadWrapper.LoadLoadingPage(WindowsComponentStoreBrowser browser)
at Xamarin.Ide.Windows.WindowsComponentStoreBrowser.<ResetInternetChecker>b__2(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment