Bug 4947 - CalendarDemo throws NREs when selecting account
Summary: CalendarDemo throws NREs when selecting account
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Samples ()
Version: 4.1.x
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Mike Bluestein
URL:
Depends on:
Blocks:
 
Reported: 2012-05-08 14:28 UTC by PJ
Modified: 2013-05-14 14:33 UTC (History)
1 user (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 PJ 2012-05-08 14:28:05 UTC
360Logica team just got an ICS device - can now test CalendarDemo (add an account):

'System.NullReferenceException' has been thrown after clicking any option to navigate account info.

Steps to reproduce this issue:
1. Add account in calendar.
2. Add event in added account.
3. Open 'Calendar Demo'.
4. Debug/Run
5. Added event displayed in calendar demo
6. Click on any option 'tasks', 'people', 'PC Sync', 'Account username'.

Actual Result:
'System.NullReferenceException' has been thrown after clicking any option'tasks', 'people', 'PC Sync', 'Account username' to navigate account info.

Expected result:
Exception should not be thrown after clicking on 'tasks', 'people', 'PC Sync', 'Account (username)'.

Supplement information:
https://gist.github.com/2637225

Environment:
mono-android-4.1.2.4842707
MonoDevelop-efcf1e10203ee7421e35c3d4c53d205cbd274821
Mac 10.7.3

Device info:
HTC One T320e
Version 4.0.3

App info:
Calendar Demo/monodroid-4.1 preview

Additional environment:
This is happening on both debug and release.


I tried to repro the issue here and I got the exception just when I clicked on the account (I didn't even get to the event options). Assigning to mike because he's on the readme.

If this issue exposes a real bug, please re-prioritize as needed.
Comment 1 Peter Collins 2013-05-14 14:33:26 UTC
Unable to reproduce this NRE, it looks like the Calendar Demo sample has had some changes / one particular NRE fix that likely resolved this.