Unhandled exception in iOS charting
Posted: Wed May 02, 2012 2:45 am
I am handling a Series click event and if I touch up outside and let go on a series, I get a fatal error (not in me code).
Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
at Steema.TeeChart.Chart.DoMouseDown (Boolean IsDoubleClick, MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.OnMouseMove (MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.PanGesture (MonoTouch.UIKit.UIPanGestureRecognizer e) [0x00000] in <filename unknown>:0
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 eLogic.Application.Main (System.String[] args) [0x00000] in /Users/ndiab/Projects/eLogic/eLogic/Main.cs:17
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidCastException: Cannot cast from source type to destination type.
at Steema.TeeChart.Chart.DoMouseDown (Boolean IsDoubleClick, MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.OnMouseMove (MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.PanGesture (MonoTouch.UIKit.UIPanGestureRecognizer e) [0x00000] in <filename unknown>:0
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 eLogic.Application.Main (System.String[] args) [0x00000] in /Users/ndiab/Projects/eLogic/eLogic/Main.cs:17
Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
at Steema.TeeChart.Chart.DoMouseDown (Boolean IsDoubleClick, MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.OnMouseMove (MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.PanGesture (MonoTouch.UIKit.UIPanGestureRecognizer e) [0x00000] in <filename unknown>:0
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 eLogic.Application.Main (System.String[] args) [0x00000] in /Users/ndiab/Projects/eLogic/eLogic/Main.cs:17
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidCastException: Cannot cast from source type to destination type.
at Steema.TeeChart.Chart.DoMouseDown (Boolean IsDoubleClick, MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.OnMouseMove (MonoTouch.UIKit.UIGestureRecognizer e) [0x00000] in <filename unknown>:0
at Steema.TeeChart.TChart.PanGesture (MonoTouch.UIKit.UIPanGestureRecognizer e) [0x00000] in <filename unknown>:0
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 eLogic.Application.Main (System.String[] args) [0x00000] in /Users/ndiab/Projects/eLogic/eLogic/Main.cs:17