Bug 12607 - ANRE when opening layout in source editor
Summary: ANRE when opening layout in source editor
Status: RESOLVED DUPLICATE of bug 12820
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.7.x
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.8.x (post async)
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-06-08 13:11 UTC by Jérémie Laval
Modified: 2013-08-29 10:17 UTC (History)
2 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 12820

Description Jérémie Laval 2013-06-08 13:11:05 UTC
When another document is focused and the layout is already opened in the designer elsewhere, rightclicking on the same layout to open it it source editor triggers:

System.ArgumentNullException: Argument cannot be null.
Parameter name: fileName
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile (MonoDevelop.Projects.Project project, System.String fileName, System.String mimeType, System.IO.TextReader content) [0x001ed] in /Users/builder/data/lanes/monodevelop-lion-master/cb5e7122/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:399 
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile (MonoDevelop.Projects.Project project, System.String fileName, System.String mimeType, System.String content) [0x00008] in /Users/builder/data/lanes/monodevelop-lion-master/cb5e7122/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:404 
  at MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey45+<StartReparseThread>c__AnonStorey46.<>m__53 (System.Object ) [0x0002f] in /Users/builder/data/lanes/monodevelop-lion-master/cb5e7122/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:812
Comment 2 PJ 2013-07-10 18:34:18 UTC
Didn't get fixed for 4.8 and is a xamarin-reported bug, moving to 4.8.x
Comment 3 Lluis Sanchez 2013-08-29 10:17:53 UTC
Dup.

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