Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
E/mono ( 5641): WARNING: The runtime version supported by this application is unavailable.
E/mono ( 5641): Using default runtime: v2.0.50727
I/monodroid-gc( 5641): environment supports jni NewWeakGlobalRef
W/monodroid-gc( 5641): GREF GC Threshold: 46800
I/MonoDroid( 5641): UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
I/MonoDroid( 5641): at Mono.Samples.Snake.SnakeView.UpdateApples () <0x00088>
I/MonoDroid( 5641): at Mono.Samples.Snake.SnakeView.Update () <0x000d7>
I/MonoDroid( 5641): at Mono.Samples.Snake.SnakeView.SetMode (Mono.Samples.Snake.GameMode) <0x00067>
I/MonoDroid( 5641): at Mono.Samples.Snake.SnakeView.OnKeyDown (Android.Views.Keycode,Android.Views.KeyEvent) <0x0008b>
I/MonoDroid( 5641): at Android.Views.View.n_OnKeyDown_ILandroid_view_KeyEvent_ (intptr,intptr,int,intptr) <0x00067>
I/MonoDroid( 5641): at (wrapper dynamic-method) object.7ad01e0a-43ea-45c7-9cd4-54116a3925db (intptr,intptr,int,intptr) <0x0003b>
E/mono ( 5641):
E/mono ( 5641): Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
E/mono ( 5641): at Mono.Samples.Snake.SnakeView.UpdateApples () [0x00000] in <filename unknown>:0
E/mono ( 5641): at Mono.Samples.Snake.SnakeView.Update () [0x00000] in <filename unknown>:0
E/mono ( 5641): at Mono.Samples.Snake.SnakeView.SetMode (GameMode newMode) [0x00000] in <filename unknown>:0
E/mono ( 5641): at Mono.Samples.Snake.SnakeView.OnKeyDown (Keycode keyCode, Android.Views.KeyEvent msg) [0x00000] in <filename unknown>:0
E/mono ( 5641): at Android.Views.View.n_OnKeyDown_ILandroid_view_KeyEvent_ (IntPtr jnienv, IntPtr native__this, Int32 native_keyCode, IntPtr native_e) [0x00000] in <filename unknown>:0
E/mono ( 5641): at (wrapper dynamic-method) object:7ad01e0a-43ea-45c7-9cd4-54116a3925db (intptr,intptr,int,intptr)
@pjbeaman

This comment has been minimized.

Copy link

@pjbeaman pjbeaman commented May 1, 2012

With line endings

at Mono.Samples.Snake.TileView.SetTile (Mono.Samples.Snake.TileType,int,int) [0x00000] in /Users/XamarinQA/GitHubRepositories/monodroid-samples/Snake/Classes/TileView.cs:93
at Mono.Samples.Snake.SnakeView.UpdateApples () [0x00019] in /Users/XamarinQA/GitHubRepositories/monodroid-samples/Snake/Classes/SnakeView.cs:306
at Mono.Samples.Snake.SnakeView.Update () [0x00047] in /Users/XamarinQA/GitHubRepositories/monodroid-samples/Snake/Classes/SnakeView.cs:280
at Mono.Samples.Snake.SnakeView.SetMode (Mono.Samples.Snake.GameMode) [0x0002b] in /Users/XamarinQA/GitHubRepositories/monodroid-samples/Snake/Classes/SnakeView.cs:248
at Mono.Samples.Snake.SnakeView.OnKeyDown (Android.Views.Keycode,Android.Views.KeyEvent) [0x00040] in /Users/XamarinQA/GitHubRepositories/monodroid-samples/Snake/Classes/SnakeView.cs:188
at Android.Views.View.n_OnKeyDown_ILandroid_view_KeyEvent_ (intptr,intptr,int,intptr) [0x00012] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/platforms/android-8/src/generated/Android.Views.View.cs:7008
at (wrapper dynamic-method) object.9e6fafa4-3c7e-4c92-a79d-a99d22e1f46d (intptr,intptr,int,intptr) <IL 0x00018, 0x00043>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment