Bug 3083 - Null pad throws an exception
Summary: Null pad throws an exception
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Bugzilla
: 4536 ()
Depends on:
Reported: 2012-01-26 05:30 UTC by Alan McGovern
Modified: 2013-08-27 13:36 UTC (History)
2 users (show)

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:

Description Alan McGovern 2012-01-26 05:30:42 UTC
From our crash reports, seems to happen with MD master from around about commit 2dafd378 

ERROR [2012-01-26 11:10:42Z]: System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Ide.Gui.Pad..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, MonoDevelop.Ide.Codons.PadCodon content) [0x00013] in /home/src/build/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs:49 
  at MonoDevelop.Ide.Gui.Workbench.WrapPad (MonoDevelop.Ide.Codons.PadCodon padContent) [0x00063] in /home/src/build/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:623 
  at MonoDevelop.Ide.Gui.Workbench.get_Pads () [0x00034] in /home/src/build/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:159 
  at MonoDevelop.Ide.Gui.Workbench.GetPad[ErrorListPad] () [0x00000] in /home/src/build/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:243 
  at MonoDevelop.SourceEditor.SourceEditorView..ctor () [0x003f8] in /home/src/build/mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:244 
  at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.CreateContent (FilePath fileName, System.String mimeType, MonoDevelop.Projects.Project ownerProject) [0x00000] in /home/src/build/mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorDisplayBinding.cs:94 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x00033] in /home/src/build/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1078 
* Assertion at sgen-alloc.c:390, condition `*p == NULL' not met
Comment 1 Lluis Sanchez 2012-04-24 12:59:51 UTC
*** Bug 4536 has been marked as a duplicate of this bug. ***
Comment 2 Lluis Sanchez 2013-08-27 13:36:50 UTC
Never seen this. Maybe it is already fixed in XS? Will reopen if there is a real crash.