Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
1) Try to create a Gtk# 2.0
System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.AddNewComponent (System.Xml.XmlElement element) [0x00008] in /Users/alan/Projects/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderProject.cs:268
at MonoDevelop.GtkCore.WidgetFileDescriptionTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00150] in /Users/alan/Projects/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore/WidgetFileDescriptionTemplate.cs:115
at MonoDevelop.Ide.Templates.ProjectDescriptor.InitializeItem (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation, System.String defaultLanguage, MonoDevelop.Projects.SolutionEntityItem item) [0x00224] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/ProjectDescriptor.cs:162
Easy repro: Use the unit test in this branch https://github.com/mono/monodevelop/tree/test_project_creation
Please merge this test into master if this bug is fixed after #14300 is fixed.
Actually this seems to be caused by the new DISABLE_STETIC env var. Re-prioritising and re-assigning.
DISABLE_STETIC is a private hack to improve load/build perf when you don't need stetic. Creating a stetic project while it's set is pretty pointless.