Bug 12820 - Xamarin Crashes when going back to a layout from another tab
Summary: Xamarin Crashes when going back to a layout from another tab
Status: RESOLVED DUPLICATE of bug 12773
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 4.0.8
Hardware: PC Windows
: High normal
Target Milestone: master
Assignee: Mike Krüger
URL:
: 12607 ()
Depends on:
Blocks:
 
Reported: 2013-06-21 11:38 UTC by Tracy
Modified: 2013-08-29 10:48 UTC (History)
4 users (show)

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

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 or GitHub 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 12773

Description Tracy 2013-06-21 11:38:23 UTC
1. Open a project and open a layout file and switch to source view
2. Switch to another file, say an activity
3. Switch back to the Layout and you will get the following crash.

I have tried this on two machines.
Windows 7 64bit and Windows 8.
I have tried upgrading to 4.08 and now to 4.09 in the beta channel and they all do it.
This is a crippling bug and makes it almost impossible to keep working.

System.ArgumentNullException: Value cannot be null.
Parameter name: fileName
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile(Project project, String fileName, String mimeType, TextReader content)
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile(Project project, String fileName, String mimeType, String content)
   at MonoDevelop.Ide.Gui.Document.<>c__DisplayClass1c.<>c__DisplayClass1e.<StartReparseThread>b__1a(Object )
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Comment 1 Lluis Sanchez 2013-08-29 10:16:25 UTC
Mike, is this already fixed?
Comment 2 Lluis Sanchez 2013-08-29 10:17:53 UTC
*** Bug 12607 has been marked as a duplicate of this bug. ***
Comment 3 Mike Krüger 2013-08-29 10:48:23 UTC
Fixed a while ago

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