Bug 16164 - [XS]NullReferenceException while trying to enable map integration entitlements
Summary: [XS]NullReferenceException while trying to enable map integration entitlements
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 4.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.2.3 (from master)
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-11-12 19:04 UTC by GouriKumari
Modified: 2014-01-03 11:28 UTC (History)
2 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description GouriKumari 2013-11-12 19:04:32 UTC
Steps to reproduce:
Install XS 4.2(build2) 
Create an iOS Universal Project
User not logged into apple account
Go To Properties -> iOS Application -> Enable Maps Integration.
On enabling it asked to log into apple account
Logged in and selected Xamarin Inc and clicked choose

Actual Behavior:
An NRE was thrown on selecting account and clicking choose
http://screencast.com/t/TZEwtq6aZk

Console logs: https://gist.github.com/GouriKumari/3a891488d2fd8f9fdbf7

However, user can continue with enabling maps integration by clicking "ok" button of error thrown.

Test Env:
Xamarin Studio
Version 4.2 (build 2)
Installation UUID: fafd3486-1aec-4f9c-ab77-08bf4a000708
Runtime:
	Mono 3.2.4 ((no/294f999)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (2.12.0.0)
	Package version: 302040000

Apple Developer Tools
Xcode 4.6.3 (2068)
Build 4H1503

Xamarin.Mac
Xamarin.Mac: 1.6.13

Xamarin.Android
Version: 4.10.1
Android SDK: Not found

Xamarin.iOS
Version: 7.0.4.209 (Trial Edition)
Hash: 23a0827
Branch: 
Build date: 2013-11-11 16:04:00-0500

Build Information
Release ID: 402000002
Git revision: a37a8e0cda771d222cabe1f9af29c4d586e7fc7d
Build date: 2013-11-11 22:38:26+0000
Xamarin addins: 2f88a112110098d5c6964bce4251c617c2e8a968

Operating System
Mac OS X 10.7.4
Darwin dynamic-044.bos.xamarin.com 11.4.0 Darwin Kernel Version 11.4.0
    Mon Apr  9 19:32:15 PDT 2012
    root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Comment 1 Jeffrey Stedfast 2013-11-13 12:27:17 UTC
fixed in git master (can be backported to a 4.2.1 hotfix if needed)

commit 38e0f1714471739c1c4b51d5b940332bcc3ccad7
Comment 2 Atin 2014-01-03 11:28:38 UTC
Today, We have checked this issue with following builds:

Mac ML 10.8.5
XS 4.2.3(build 24)
MT 7.0.6.166

After following steps mentioned in bug description, now we are successfully able to Enable Maps Integration with Apple account its not throwing any Exception.

Hence marking this as Verified