Skip to content

Instantly share code, notes, and snippets.

@Udham1

Udham1/Error Log Secret

Created August 11, 2014 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Udham1/846243354a92f6e24879 to your computer and use it in GitHub Desktop.
Save Udham1/846243354a92f6e24879 to your computer and use it in GitHub Desktop.
System.InvalidCastException: Unable to cast object of type 'TestProj.TestProjViewController+SettingsSectionsEnum' to type 'System.Int32'.
at at (wrapper managed-to-native) object:__icall_wrapper_mono_object_castclass_unbox (object,intptr)
at System.Array.UnsafeMov[SettingsSectionsEnum,Int32] (SettingsSectionsEnum instance) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Array.cs:3170
at at (wrapper unknown) object:gsharedvt_in ()
at at (wrapper unknown) object:gsharedvt_out ()
at System.Collections.Generic.EnumIntEqualityComparer`1[TestProj.TestProjViewController+SettingsSectionsEnum].IndexOf (SettingsSectionsEnum[] array, SettingsSectionsEnum value, Int32 startIndex, Int32 endIndex) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Collections.Generic/EqualityComparer.cs:200
at at (wrapper unknown) object:gsharedvt_in ()
at at (wrapper unknown) object:gsharedvt_out ()
at System.Array.IndexOf[SettingsSectionsEnum] (SettingsSectionsEnum[] array, SettingsSectionsEnum value, Int32 startIndex, Int32 count) [0x0003c] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Array.cs:3031
at at (wrapper unknown) object:gsharedvt_in ()
at at (wrapper unknown) object:gsharedvt_out ()
at System.Collections.Generic.List`1[TestProj.TestProjViewController+SettingsSectionsEnum].IndexOf (SettingsSectionsEnum item) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Collections.Generic/List.cs:397
at at (wrapper unknown) object:gsharedvt_in ()
at System.Collections.ObjectModel.Collection`1[TestProj.TestProjViewController+SettingsSectionsEnum].IndexOf (SettingsSectionsEnum item) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Collections.ObjectModel/Collection.cs:111
at System.Collections.ObjectModel.Collection`1[TestProj.TestProjViewController+SettingsSectionsEnum].Remove (SettingsSectionsEnum item) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Collections.ObjectModel/Collection.cs:130
at TestProj.TestProjViewController.ViewWillAppear (Boolean animated) [0x0002f] in /Users/xamarin76/Downloads/TestProj 2/TestProj/TestProjViewController.cs:63
at 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) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:39
at TestProj.Application.Main (System.String[] args) [0x00008] in /Users/xamarin76/Downloads/TestProj 2/TestProj/Main.cs:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment