[MonoTouch] Null Reference in 5.2.9
aknabb
aknabb at mobileepiphany.com
Tue Mar 20 16:03:36 UTC 2012
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.
More information about the MonoTouch
mailing list