Bug 1708 - NRE in MessageBubbleHighlightPopupWindow.OnExposeEvent
Summary: NRE in MessageBubbleHighlightPopupWindow.OnExposeEvent
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-10-26 19:36 UTC by Diniden
Modified: 2011-10-28 00:47 UTC (History)
3 users (show)

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

the class that will crash mono (19.48 KB, application/octet-stream)
2011-10-26 19:36 UTC, Diniden

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:

Description Diniden 2011-10-26 19:36:12 UTC
Created attachment 775 [details]
the class that will crash mono

Using monodevelop 2.8

This class has many various errors I'm sure. Not sure what the errors are and trying to figure out the errors. But on compilation instead of providing a list of errors monodevelop crashes. This is the class that crashes it.

I know this is very large and non-directed, but I don't know enough about it yet as I'm porting it from another project and trying to fix it up:
Comment 1 Marek Safar 2011-10-27 05:55:35 UTC
Could you provide a way how to reproduce it or at least paste details of your crash ?
Comment 2 Diniden 2011-10-27 14:58:08 UTC
Steps to reproduce:

1- make a new empty monotouch project for the iphone

2- add the attached .cs file into the project and set it to compile.

3- compile the code

4- monodevelop will crash
Comment 3 Diniden 2011-10-27 14:58:41 UTC
No details or crash report is produced. It quits unexpectedly.
Comment 4 Marek Safar 2011-10-27 15:05:23 UTC
ERROR [2011-10-27 20:01:47Z]: Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.SourceEditor.MessageBubbleHighlightPopupWindow.OnExposeEvent (Gdk.EventExpose evnt) [0x002c0] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/MessageBubbleHighlightPopupWindow.cs:109 
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 5 Mike Krüger 2011-10-28 00:47:40 UTC