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.
Every time I open the designer (and even if I then close the tab that had the axml file open) and then build Visual Studio freezes. The UI hangs forever until I go into the task manager and kill java.exe. After I do that the build continues. This is killing my productivity.
Ben, can you get a dump of all the threads from the deadlocked VS instance? If you start a second copy of VS and attach the debugger to the instance which hung you should be able to see everything in the `Threads` window
Also, all logs should be attached too
Created attachment 17999 [details] logs Working on reproducing it again. Here are the logs though.
There's nothing in the logs which looks like it could trigger a freeze, so the 'Threads' window is probably our best bet right now. Thread 1 should be the main thread and will show where it has deadlocked, but one or more other threads are likely to be participating in the hang, so we'd need the traces from them too to be sure we get it fixed.
Created attachment 18006 [details] Minidump no heap Here's a dump file
After that dump file was created I killed java.exe and the following showed up in the output log. It may or may not help you. Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'System.IO.IOException' in System.dll Xamarin.VisualStudio.ActivationManager Error: 0 : ReadMessage failed System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at Xamarin.AndroidDesigner.Java.JavaCommunicationContext.ReadMessageLoop() Exception thrown: 'System.OperationCanceledException' in mscorlib.dll Exception thrown: 'System.OperationCanceledException' in mscorlib.dll Exception thrown: 'System.InvalidOperationException' in System.dll The thread 0x2af0 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in System.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll The thread 0x1bb4 has exited with code 0 (0x0). Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll The thread 0x2e80 has exited with code 0 (0x0). Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll The thread 0x844 has exited with code 0 (0x0). Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() The thread 0x1580 has exited with code 0 (0x0). The thread 0x28b4 has exited with code 0 (0x0). Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : XsdCompletion Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<GetResources>d__87.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<LoadResources>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<GetAttributeValueCompletions>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<PopulateAttributeValues>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.Completion.AndroidLayoutCompletionEngine.<BuildRawCompletionData>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Error: 0 : Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Merq.AsyncManager.Run(Func`1 asyncMethod) at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.OnBuildBegin(vsBuildScope scope, vsBuildAction action) in c:\Users\builder\data\lanes\3822\3b7df6f5\source\xamarinvs\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 646 Exception thrown: 'System.AggregateException' in mscorlib.dll Exception thrown: 'System.AggregateException' in mscorlib.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : The layout could not be loaded Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<DoRefreshAsync>d__102.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : The layout could not be loaded Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<DoRefreshAsync>d__102.MoveNext() Exception thrown: 'Xamarin.AndroidDesigner.Java.JavaErrorMessageException' in mscorlib.dll Xamarin.VisualStudio.ActivationManager Error: 0 : Initial layout loading failed Xamarin.AndroidDesigner.Java.JavaErrorMessageException: Connection is closed at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<InitSession>d__105.MoveNext() Exception thrown: 'Xamarin.Designer.DesignerException' in Xamarin.AndroidDesigner.dll Exception thrown: 'Xamarin.Designer.DesignerException' in mscorlib.dll
Thanks for the dump, we'll load that up and see what info we can get from it! Also, did killing java.exe result in VS becoming unfrozen?
Yes it unfreezes VS.
The minidump shows this is another case of AsyncManager.Run deadlocking the IDE, which is a duplicate of bug #45278. However this is in another part of the code so I won't mark it as a direct duplicate in case there is a workaround that can be applied here to avoid the usage of this API. The relevant part of the trace is: > Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown > Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown > Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown > [Frames below may be incorrect and/or missing, no binaries loaded for Merq.Async.Core.dll] > [Frames below may be incorrect and/or missing, no binaries loaded for Xamarin.VisualStudio.Android.dll] > EnvDTE.dll!EnvDTE._dispBuildEvents_SinkHelper.OnBuildBegin(EnvDTE.vsBuildScope A_1, EnvDTE.vsBuildAction A_2) Unknown
Additionally (I'm running into the same problem once every 2 hours) when you hardkill devenv.exe (which was my solution) VS2015 restarts, and sometimes (because of the hardkill) the IDE fails to recognize any Xamarin elements / namespaces (everything has a red underline "could not find assembly...". Only fix for this is removing the .suo file, after which everything is back to normal. Might be something worth checking out.
I believe this was addressed by removing the problematic call to `AsyncManager.Run`. There are more problematic calls to address, but the specific one in this stacktrace is now gone. master: https://github.com/xamarin/XamarinVS/commit/3570b247a38a5b83b3a2aaafcdfb296e4d762d18 cycle9: https://github.com/xamarin/XamarinVS/commit/7ffc5d77b66d438660b2c43d1f6737ccbcf119d5
That repo doesn't seem to exist.
*** Bug 46874 has been marked as a duplicate of this bug. ***
@Jeremy, Could you please check this issue with latest Beta builds. Please reopen it if this issue still persist. Waiting for your response!
hey @Jeremy, As per comment14, It seems that this issue does not exist any more. So I am closing this issue. Please feel free to reopen this issue If you faced again.