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.
I get this error:
System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Ide.Gui.Components.LogView.ShouldAutoScroll () [0x00000] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs:576
at MonoDevelop.Ide.Gui.Components.LogView.UnsafeAddText (System.String text, Gtk.TextTag extraTag) [0x00048] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs:590
at MonoDevelop.Ide.Gui.Components.LogView+QueuedTextWrite.Execute (MonoDevelop.Ide.Gui.Components.LogView pad) [0x00000] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs:650
at MonoDevelop.Ide.Gui.Components.LogView.outputDispatchHandler () [0x00064] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs:481
in this code:
because 'VAdjustment' is null. It happens nearly every time on project load for me. A simple trigger seems to be to open a project which references nugets but they have not been restored.
The error message being logged when it null references is:
"Updating Resources...\n\nThis project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ../packages/Xamarin.Forms.22.214.171.12424/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.targets.\n\n"
Fixed in version 126.96.36.1992 (master)
Commit: 1485ad45d544100c4be5d74bfc8ebb2bcb2bde61 (mono/monodevelop)
It's a race condition - impossible to reliably reproduce
As per comment 4, this issue is hardly to reproduce. So closing it.
Please reopen If experience this issue again.