Bug 37830 - NullReference checking command status for add google services nuget
Summary: NullReference checking command status for add google services nuget
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Greg Munn
Depends on:
Reported: 2016-01-20 11:28 UTC by Alan McGovern
Modified: 2016-01-20 15:04 UTC (History)
1 user (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 2016-01-20 11:28:37 UTC
ERROR [2016-01-20 11:26:24Z]: Error while updating status of command: MonoDevelop.MonoDroid.GooglePlayServices.Commands.AddGooglePlayServiceNuget
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MonoDroid.GooglePlayServices.AddGooglePlayServiceHandler.IsAndroidProjectSelected () [0x00010] in /Users/alan/Projects/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/GooglePlayServices/AddGooglePlayServiceHandler.cs:40 
  at MonoDevelop.MonoDroid.GooglePlayServices.AddGooglePlayServiceHandler.Update (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in /Users/alan/Projects/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/GooglePlayServices/AddGooglePlayServiceHandler.cs:30 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info) [0x00079] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1381 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo (System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute targetRoute) [0x001b1] in /Users/alan/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1346
Comment 1 xamarin-release-manager 2016-01-20 15:04:40 UTC
Fixed in version (master)

Author: Greg Munn
Commit: f4edbbbbe314afd2d1ffdf8bd4011304304c1cbe (xamarin/md-addins)
Included in Commit: 1b17fa69a31deace9058d16792bb1f50a154042d (mono/monodevelop)