Are you passing a null into a UIColor constructor?

>>  at MonoTouch.UIKit.UIColor..ctor (MonoTouch.CoreGraphics.CGColor color) 
>> [0x00000] in <filename unknown>:0
>>  at 
>> BrainloopMobile.Calendar.BaseCalendarViewModeController+<GetEventsInRange>c__AnonStorey38.<>m__AA
>>  (MonoTouch.EventKit.EKEvent oEvent, System.Boolean& bStop)



On Fri, Apr 6, 2012 at 10:37, René Ruppert <[email protected]> wrote:
>
> Hi,
>
> I'm getting the exception below randomly when reading the device's calendar 
> events using EKEventKit. Can somebody help interpreting it? Trampolines issue 
> that is causing the null ref?
>
> Thanks.
>
> Grüße, René
>
> Anfang der weitergeleiteten E‑Mail:
>
>> CRASH @ 06.04.2012 11:28:53
>> MONOTOUCH VERSION: 5.3.2
>> TERMINATING:True
>> EXCEPTION:
>> System.NullReferenceException: Object reference not set to an instance of an 
>> object
>>  at MonoTouch.Foundation.NSObject.InitializeObject (Boolean alloced) 
>> [0x00000] in 
>> /Developer/MonoTouch/Source/monotouch/src/Foundation/NSObject.cs:122
>>  at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag 
>> x) [0x0000d] in 
>> /Developer/MonoTouch/Source/monotouch/src/Foundation/NSObject.cs:54
>>  at MonoTouch.UIKit.UIColor..ctor (MonoTouch.CoreGraphics.CGColor color) 
>> [0x00000] in <filename unknown>:0
>>  at 
>> BrainloopMobile.Calendar.BaseCalendarViewModeController+<GetEventsInRange>c__AnonStorey38.<>m__AA
>>  (MonoTouch.EventKit.EKEvent oEvent, System.Boolean& bStop) [0x00000] in 
>> /Users/rene/Documents/Develop/Projects/BrainloopMobile/210/BrainloopMobile/BrainloopMobile/Controllers/Calendar/ViewModes/BaseCalendarViewModeController.cs:48
>>  at MonoTouch.EventKit.EKEventStore.TrampolineEKEventSearchCallback (IntPtr 
>> block, IntPtr theEvent, System.Boolean& stop) [0x0004d] in 
>> /Developer/MonoTouch/Source/monotouch/src/EventKit/EKEventStore.g.cs:477
>>  at (wrapper native-to-managed) 
>> MonoTouch.EventKit.EKEventStore:TrampolineEKEventSearchCallback 
>> (intptr,intptr,int&)
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to