Skip to content

Instantly share code, notes, and snippets.

@pjbeaman
Created March 16, 2012 17:16
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 pjbeaman/2051220 to your computer and use it in GitHub Desktop.
Save pjbeaman/2051220 to your computer and use it in GitHub Desktop.
Object reference not set to an instance of an object
at OpenTK.Platform.Android.AndroidGraphicsMode.ChooseConfig (Javax.Microedition.Khronos.Egl.EGLDisplay) [0x00312] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsMode.cs:117
at OpenTK.Platform.Android.AndroidGraphicsMode..ctor (Javax.Microedition.Khronos.Egl.EGLDisplay,int,OpenTK.Graphics.ColorFormat,int,int,int,int,bool) [0x00049] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsMode.cs:50
at OpenTK.Platform.Android.AndroidGraphicsMode..ctor (Javax.Microedition.Khronos.Egl.EGLDisplay,int,OpenTK.Graphics.GraphicsMode) <IL 0x00027, 0x0012f>
at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00074] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:109
at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00006] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:83
at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:44
at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:307
at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:158
at Mono.Samples.GLTriangle20.PaintingView.CreateFrameBuffer () [0x00007] in /Users/pjbeaman/GitHubRepositories/monodroid-samples/GLTriangle20/PaintingView.cs:43
at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs) [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:234
at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated (Android.Views.ISurfaceHolder) [0x0005d] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:104
at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_ (intptr,intptr,intptr) [0x00010] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/platforms/android-8/src/generated/Android.Views.ISurfaceHolder.cs:157
at (wrapper dynamic-method) object.4ba220cc-1beb-44b6-8df5-b4c4975fa682 (intptr,intptr,intptr) <IL 0x00012, 0x00033>
Unable to find a framebuffer for OpenGL ES 2.
at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00108] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:109
at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:37
at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:290
at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:163
at Mono.Samples.GLTriangle20.PaintingView.CreateFrameBuffer () [0x00007] in /Users/pjbeaman/GitHubRepositories/monodroid-samples/GLTriangle20/PaintingView.cs:43
at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs) [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:237
at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated (Android.Views.ISurfaceHolder) [0x0006c] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:103
at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_ (intptr,intptr,intptr) [0x00010] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/platforms/android-14/src/generated/Android.Views.ISurfaceHolder.cs:157
at (wrapper dynamic-method) object.bb819018-8b95-4e5b-a63f-ba9d2505d8ce (intptr,intptr,intptr) <IL 0x00012, 0x00033>
hw.dPad=yes
hw.lcd.density=160
vm.heapSize=48
hw.ramSize=1024
hw.gpu.enabled=yes
Object reference not set to an instance of an object
at (wrapper delegate-invoke) <Module>.invoke_bool__this___intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x0005d, 0x00117>
at Android.Runtime.JNIEnv.CallBooleanMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/src/Runtime/JNIEnv.g.cs:160
at Javax.Microedition.Khronos.Egl.IEGL10Invoker.EglSwapBuffers (Javax.Microedition.Khronos.Egl.EGLDisplay,Javax.Microedition.Khronos.Egl.EGLSurface) [0x00030] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/platforms/android-8/src/generated/Javax.Microedition.Khronos.Egl.IEGL10.cs:1075
at OpenTK.Platform.Android.AndroidGraphicsContext.Swap () [0x00000] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:138
at OpenTK.Platform.Android.AndroidGameView.SwapBuffers () [0x00017] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:180
at Mono.Samples.GLTriangle20.PaintingView.RenderTriangle () [0x0007b] in /Users/pjbeaman/GitHubRepositories/monodroid-samples/GLTriangle20/PaintingView.cs:159
at Mono.Samples.GLTriangle20.PaintingView.OnResize (System.EventArgs) [0x00018] in /Users/pjbeaman/GitHubRepositories/monodroid-samples/GLTriangle20/PaintingView.cs:167
at OpenTK.Platform.Android.AndroidGameView.SurfaceChanged (Android.Views.ISurfaceHolder,int,int,int) [0x000b5] in /Users/jon/Development/xamarin/monodroid-hotfix/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:132
at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceChanged_Landroid_view_SurfaceHolder_III (intptr,intptr,intptr,int,int,int) [0x00010] in /Users/jon/Development/xamarin/monodroid-hotfix/Mono.Android/platforms/android-8/src/generated/Android.Views.ISurfaceHolder.cs:132
at (wrapper dynamic-method) object.ab96dc7f-4da9-4465-af9c-ab5fe4700913 (intptr,intptr,intptr,int,int,int) <IL 0x00024, 0x0006b>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment