Hello Aaron, This looks to be the same issue as #3960 [1] and was fixed in MonoTouch 5.2.10.
Please fill a bug report if you can still duplicate it after the update. Regards, Sebastien [1] https://bugzilla.xamarin.com/show_bug.cgi?id=3960 On Tue, Mar 20, 2012 at 12:03 PM, aknabb <[email protected]> wrote: > Since upgrading to 5.2.9, I've started getting a null reference exception in > this line of code (which previously worked). > > ((UINavigationController)m_pageParent).PushControllerWithTransition( > m_pNextPage, (UIViewAnimationOptions)_animationIn); > > I'm using MonoTouch.UIKit.UIViewAnimationOptions.TransitionFlipFromLeft as > the animation type. This worked just previous to this latest verstion of > monotouch. Here's the exception text: > > -Aaron > > Object reference not set to an instance of an object > at MonoTouch.UIKit.UIView+<Transition>c__AnonStorey14.<>m__16 (Boolean x) > [0x00000] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIView.cs:113 > at MonoTouch.UIKit.UIView.TrampolineUICompletionHandler (IntPtr block, > Boolean finished) [0x0004d] in > /Developer/MonoTouch/Source/monotouch/src/UIKit/UIView.g.cs:1590 > at (wrapper native-to-managed) > MonoTouch.UIKit.UIView:TrampolineUICompletionHandler (intptr,int) > at (wrapper managed-to-native) > MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) > at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String > principalClassName, System.String delegateClassName) [0x00042] in > /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 > at TouchInspect.Application.Main (System.String[] args) [0x00000] in > /Users/aaron/Desktop/Source/Trunk/TI/iOS/TouchInspect/Main.cs:16 > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Null-Reference-in-5-2-9-tp4489338p4489338.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
