Bug 17374 - Visual Studio 2013 crashes on loading solution when Xamarin "updating licence" window displays
Summary: Visual Studio 2013 crashes on loading solution when Xamarin "updating licence...
Status: RESOLVED DUPLICATE of bug 16285
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 1.10.x
Hardware: PC Windows
: Normal normal
Target Milestone: 1.10.x (VS2013+1)
Assignee: Dominique Louis
URL:
Depends on:
Blocks:
 
Reported: 2014-01-22 14:12 UTC by bojanv91
Modified: 2014-01-30 17:29 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot from crash dialogs (38.23 KB, image/png)
2014-01-22 14:12 UTC, bojanv91
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 16285

Description bojanv91 2014-01-22 14:12:56 UTC
Created attachment 5888 [details]
Screenshot from crash dialogs

Visual Studio 2013 crashes on loading solution when Xamarin "updating licence" window displays. 
Bug can be read from event viewer errors information and attachment.

Bug in .NET Runtime:


Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
   at System.Windows.Window.ShowDialog()
   at Xwt.WPFBackend.DialogBackend.RunLoop(Xwt.Backends.IWindowFrameBackend)
   at Xwt.Dialog+<>c__DisplayClass1.<Run>b__0()
   at Xwt.Toolkit.InvokePlatformCode(System.Action)
   at Xwt.Dialog.Run(Xwt.WindowFrame)
   at Xamarin.Components.Ide.Activation.ActivationDialog.RunWorkflows(System.Collections.Generic.IEnumerable`1<Xamarin.Components.Ide.Activation.ActivationWorkflowStep>, System.Object)
   at Xamarin.Components.Ide.Activation.ActivationService.AuthorizeFeatures(System.Object, System.Collections.Generic.IList`1<Xamarin.Components.Ide.Activation.ActivationReason>)
   at Mono.VisualStudio.Shell.ShellPackage.AsynchronouslyUnloadProjects()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Comment 1 bojanv91 2014-01-22 22:07:41 UTC
Same solution opened in Xamarin Studio had errors related to this thread.
http://forums.xamarin.com/discussion/3790/unable-to-determine-license-edition-xa9010

UnInstalling Android API 19 solved the bug I reported earlier. VS crashes no more.

There is some kind of unstabillity problem with Android API 19.
Comment 2 PJ 2014-01-29 16:22:15 UTC
Hi Bojan,

Can you add the version information from Tools->Extensions and Updates? The issue in the forum post that you linked is fixed in the beta version of Xamarin.Android, 4.10.2.

If you are using 4.10.1, you may want to consider upgrading to the Beta channel to get that fix. Those builds will be promoted to the Stable channel in the very near future.

If you're using 4.10.2 already, we'd love to know so we can continue investigating.

Thanks for the report!
Comment 3 bojanv91 2014-01-30 03:15:39 UTC
Hi,

Apparently I am using Xamarin.Android 4.10.1073 version, so as you suggested I would consider updating to v10.2 in near future as at this point of time I have stable development environment and AndroidAPI 19 is not required for my needs.

Thank you for your feedback.
Comment 4 PJ 2014-01-30 17:29:22 UTC
Ok, it seems like this is a duplicate of 16285, marking as such.

*** This bug has been marked as a duplicate of bug 16285 ***