Bug 9838 - 'MapCallout IOS' sample, on clicking 'City' and 'All' buttons application crashes and throws SNRE exception.
Summary: 'MapCallout IOS' sample, on clicking 'City' and 'All' buttons application cra...
Status: VERIFIED DUPLICATE of bug 9643
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 6.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-01-29 08:45 UTC by Nischal
Modified: 2013-05-31 14:32 UTC (History)
3 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 DUPLICATE of bug 9643

Description Nischal 2013-01-29 08:45:19 UTC
Steps to reproduce:
1. Open MapCallout sample in XS
2. Debug or Release the application
3. Click on 'City' or 'All' button
4. Observe that on clicking 'City' and 'All' buttons, application crashes and throws SystemNullReferenceException     exception.

Actual result:
On clicking 'City' and 'All' buttons, application crashes and throws SystemNullReferenceException exception. However, on clicking 'Bridge' button application working fine.

Expected result:
On clicking 'City' and 'All' buttons, application should not crash and it should work according to its functionality.

Supplement info:
Screencast: http://www.screencast.com/t/zbvCtZtNo
Stack Trace: https://gist.github.com/8d3067aa5ac2021d094f
iOS Device log: https://gist.github.com/c7829d5b9f626b61955a
X.S log: https://gist.github.com/61ff3a2a0abb1b2b769d

Environment:
All MAC
X.S 4.0- 0468663eb40e288ddb85184ed818c7381883b6a4
MT 6.2.8
MonoFramework-MDK-2.10.11.macos10.xamarin.x86

Device info:
iPhone iOS 5.1.1

App info: 
monotouch-samples-master-de66028a57221ab36d1bffb0fa30687fdb6fbe55

Note: This issue exist on both device and simulator.
Comment 1 Sebastien Pouliot 2013-01-29 15:36:30 UTC
Some bitmaps were removed in the prettification commit:

https://github.com/xamarin/monotouch-samples/commit/e5ae35eac5fe75456df3a5b5568e1d6ec189fd12

The removal of MapCallouts/flag.png cause an UIImage to be null and an NRE follows.

*** This bug has been marked as a duplicate of bug 9643 ***
Comment 2 Akhilesh kumar 2013-05-31 14:32:56 UTC
Today we have checked this issue with following builds:

XS 4.0.8(build 2)
MT 6.2.6.6
MONO 2.10.12

On clicking 'City' and 'All' buttons Application is not getting crashed and It's working according to it's functionality.

Hence marking this status as VERIFIED.