[Mono-bugs] [Bug 618977] New: Crashes when Using the Calendars method of the EKEventStore on the device
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 30 18:35:18 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=618977
http://bugzilla.novell.com/show_bug.cgi?id=618977#c0
Summary: Crashes when Using the Calendars method of the
EKEventStore on the device
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Runtime
AssignedTo: gnorton at novell.com
ReportedBy: jclancey at resdat.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4
When you delcare an event store then use the calendars property. The app
crashes. This only happens on the device.
Reproducible: Always
Steps to Reproduce:
EKEventStore store = new EKEventStore();
var calendarArray = store.Calendars;
Actual Results:
System.InvalidCastException: Cannot cast from source type to destination type.
Wed Jun 30 14:30:45 unknown UIKitApplication:collaborate[0xb41a][150] <Notice>:
at MonoTouch.Foundation.NSArray.ArrayFromHandle[EKCalendar] (IntPtr handle)
[0x00000] in <filename unknown>:0
Wed Jun 30 14:30:45 unknown UIKitApplication:collaborate[0xb41a][150] <Notice>:
at MonoTouch.EventKit.EKEventStore.get_Calendars () [0x00000] in <filename
unknown>:0
Expected Results:
it should return an array of EKCalendar
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list