Bug 8277 - MonoDevelop crash after clicking on edit in source view.
Summary: MonoDevelop crash after clicking on edit in source view.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-11-08 01:38 UTC by Jean-Louis
Modified: 2013-01-25 02:21 UTC (History)
1 user (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 FIXED

Description Jean-Louis 2012-11-08 01:38:47 UTC
It might be a duplicate.

MonoDevelop crashes when clicking on edit in the top navigation bar when any source view is selected in the android designer.

Here is the stack trace.

MonoDev 3.0.4.7
MonoDroid 4.2.7


System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.Platform.WindowsPlatform.OnGetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.Desktop.PlatformService.GetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.DesktopService.GetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.Gui.Document.GetCommentTags(String fileName)
   at MonoDevelop.Ide.Gui.Document.get_CommentTags()
   at MonoDevelop.Ide.Commands.InsertStandardHeaderHandler.Update(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo(ActionCommand cmd, CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, CommandTargetRoute targetRoute)

Kind Regards,
Jean-Louis Kroon
Comment 1 Lluis Sanchez 2012-11-16 11:30:57 UTC
Fixed.
Comment 2 janpieter.minderhoud 2013-01-25 02:21:40 UTC
NOT FIXED!!

Or is it fixed in the beta release?

I got the same error when clicking edit in source view.
Maybe it's because I'm running Windows 8?

Kind regards,
J-P


PS: Is there any way to see in what version this was fixed?



Error:
-------------------------------------------------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.Platform.WindowsPlatform.OnGetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.Desktop.PlatformService.GetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.DesktopService.GetMimeTypeForUri(String uri)
   at MonoDevelop.Ide.Gui.Document.GetCommentTags(String fileName)
   at MonoDevelop.Ide.Gui.Document.get_CommentTags()
   at MonoDevelop.Ide.Commands.InsertStandardHeaderHandler.Update(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate(CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo(ActionCommand cmd, CommandInfo info)
   at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, CommandTargetRoute targetRoute)
------------------------------------------------------------------------


Version info:
------------------------------------------------------------------------
MonoDevelop 3.0.6

Installation UUID: 015541ff-3550-4c36-a07d-053f90cf42a7

Runtime:

	Microsoft .NET 4.0.30319.18033

	GTK 2.16.6

	GTK# (2.12.0.0)

Mono for Android: 4.4.54

Android SDK: C:\Users\......\AppData\Local\Android\android-sdk

	Supported Android versions:

		2.1 (API level 7)

		2.2 (API level 8)

		2.3 (API level 10)

		3.1 (API level 12)

		4.0 (API level 14)

		4.1 (API level 16)

		4.2 (API level 17)

Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_31

No build info

Operating System:

	Windows 6.2.9200.0 (64-bit)
------------------------------------------------------------------------