Skip to content

Instantly share code, notes, and snippets.

UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
I/MonoDroid(15036): at Com.Android.Example.Beam.Beam.OnCreate (Android.OS.Bundle) <0x00130>
I/MonoDroid(15036): at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) <0x00057>
I/MonoDroid(15036): at (wrapper dynamic-method) object.99e350bb-0fba-47c8-b5fc-5671395a7670 (intptr,intptr,intptr) <0x00033>
E/mono (15036):
E/mono (15036): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
E/mono (15036): at Com.Android.Example.Beam.Beam.OnCreate (Android.OS.Bundle savedInstanceState) [0x00000] in <filename unknown>:0
E/mono (15036): at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00000] in <filename unknown>:0
E/mono (15036): at (wrapper dynamic-method) object:99e350bb-0fba-47c8-b5fc-5671395a7670 (intptr,intptr,intptr)
--------- beginning of /dev/log/main
D/WifiStateMachine(23052): fetchRssiAndLinkSpeedNative RSSI = -82
D/WifiStateMachine(23052): fetchRssiAndLinkSpeedNative RSSI = -82
D/WifiStateMachine(23052): fetchRssiAndLinkSpeedNative RSSI = -82
D/WifiStateMachine(23052): fetchRssiAndLinkSpeedNative RSSI = -82
D/AndroidRuntime( 5607):
D/AndroidRuntime( 5607): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 5607): CheckJNI is OFF
D/AndroidRuntime( 5607): Calling main entry com.android.commands.pm.Pm
--------- beginning of /dev/log/system
--------- beginning of /dev/log/system
D/WifiStateMachine(23052): BroadcastRSSIForIMS, newrssi =-82 , oldRssi= -79
D/WifiStateMachine(23052): fetchRssiAndLinkSpeedNative RSSI = -89
D/WifiStateMachine(23052): BroadcastRSSIForIMS, newrssi =-89 , oldRssi= -82
I/PowerManagerService-JNI(23052): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
E/libEGL ( 2881): called unimplemented OpenGL ES API
E/libEGL ( 2881): called unimplemented OpenGL ES API
E/libEGL ( 2881): called unimplemented OpenGL ES API
E/libEGL ( 2881): called unimplemented OpenGL ES API
E/libEGL ( 2881): called unimplemented OpenGL ES API
I/PowerManagerService-JNI(11942): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
D/TileRenderer(12076): glEndTilingQCOM: 0x502
D/TileRenderer(12076): glEndTilingQCOM: 0x502
D/TileRenderer(12076): glEndTilingQCOM: 0x502
D/TileRenderer(12076): glEndTilingQCOM: 0x502
D/TileRenderer(12076): glEndTilingQCOM: 0x502
D/TileRenderer(12076): glEndTilingQCOM: 0x502
W/CpuWake (11942): >>acquireCpuPerfWakeLock!
W/CpuWake (11942): <<acquireCpuPerfWakeLock!
I/Intent (11942): @test_code: getHtcIntentFlag: 0 obj: 1099060072
Unhandled Exception: OpenTK.Platform.Android.EglException: EglSwapBuffers
E/mono (16077): at OpenTK.Platform.Android.AndroidGraphicsContext.Swap () [0x00000] in <filename unknown>:0
E/mono (16077): at OpenTK.Platform.Android.AndroidGameView.SwapBuffers () [0x00000] in <filename unknown>:0
E/mono (16077): at Mono.Samples.TexturedCube.PaintingView.RenderCube () [0x00000] in <filename unknown>:0
E/mono (16077): at Mono.Samples.TexturedCube.PaintingView.SwitchTexture () [0x00000] in <filename unknown>:0
E/mono (16077): at Mono.Samples.TexturedCube.TexturedCubeActivity+<OnCreate>c__AnonStorey0.<>m__0 (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
E/mono (16077): at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00000] in <filename unknown>:0
E/mono (16077): at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (IntPtr jnienv, IntPtr native__this, IntPtr native_v) [0x00000] in <filename unknown>:0
Build started 5/8/2012 2:02:20 PM.
__________________________________________________
Project "/Users/nischal/Desktop/xamarin-monodroid-samples-842c8ce/SanityTests/SanityTests.csproj" (SignAndroidPackage target(s)):
Target BuildNativeLibs:
Executing: ~/Desktop/android-ndk-r7c/ndk-build
Compile thumb : bar <= bar.c
Compile thumb : foo <= foo.c
SharedLibrary : libfoo.so
SharedLibrary : libbar.so
Install : libbar.so => libs/armeabi/libbar.so
Build started 5/8/2012 1:06:24 PM.
__________________________________________________
Project "/Users/nischal/Desktop/xamarin-monodroid-samples-842c8ce/SanityTests/SanityTests.csproj" (SignAndroidPackage target(s)):
Target BuildNativeLibs:
Executing: /ndk-build
/var/folders/hh/vnw0qs3d5r19tqh5wrj2yj380000gn/T/tmp4c086694.tmp: line 1: /ndk-build: No such file or directory
/Users/nischal/Desktop/xamarin-monodroid-samples-842c8ce/SanityTests/SanityTests.csproj: error : Command '/ndk-build' exited with code: 127.
Task "Exec" execution -- FAILED
Done building target "BuildNativeLibs" in project "/Users/nischal/Desktop/xamarin-monodroid-samples-842c8ce/SanityTests/SanityTests.csproj".-- FAILED
Done building project "/Users/nischal/Desktop/xamarin-monodroid-samples-842c8ce/SanityTests/SanityTests.csproj".-- FAILED
I/mono ( 387): at (wrapper delegate-invoke) <Module>.invoke_intptr__this___intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00063, 0xffffffff>
I/mono ( 387): at Android.Runtime.JNIEnv.CallObjectMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00000] in /Users/builder/data/lanes/monodroid-mac-4.2-series/dbf0f967/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:141
I/mono ( 387): at Android.Runtime.JNIEnv.FindClass (string) [0x00037] in /Users/builder/data/lanes/monodroid-mac-4.2-series/dbf0f967/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:267
I/mono ( 387): at Android.Runtime.JNIEnv.CreateInstance (string,string,Android.Runtime.JValue[]) [0x00000] in /Users/builder/data/lanes/monodroid-mac-4.2-series/dbf0f967/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:203
I/mono ( 387): at Java.Lang.Thread/RunnableImplementor..ctor (System.Action,bool) <IL 0x00011, 0x000c3>
I/mono ( 387): at Android.OS.Handler.Post (System
System.InvalidOperationException: Only 'parameters' element in message part is supported
at System.ServiceModel.Description.MessageContractImporterInternal.resolveMessage (System.Web.Services.Description.Message msg, System.ServiceModel.Description.MessageBodyDescription body, System.Collections.Generic.List`1 parts) [0x00000] in <filename unknown>:0
at System.ServiceModel.Description.MessageContractImporterInternal.DoImportContract () [0x00000] in <filename unknown>:0
at System.ServiceModel.Description.MessageContractImporterInternal.ImportContract (System.ServiceModel.Description.WsdlImporter importer, System.ServiceModel.Description.WsdlContractConversionContext context) [0x00000] in <filename unknown>:0
at System.ServiceModel.Description.XmlSerializerMessageContractImporter.System.ServiceModel.Description.IWsdlImportExtension.ImportContract (System.ServiceModel.Description.WsdlImporter importer, System.ServiceModel.Description.WsdlContractConversionContext context) [0x00000] in <filename unknow
FATAL EXCEPTION: main
E/AndroidRuntime(10230): java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.DebugRuntime or Mono.Android.Platform.ApiLevel_8!
E/AndroidRuntime(10230): at android.app.ActivityThread.installProvider(ActivityThread.java:4509)
E/AndroidRuntime(10230): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
E/AndroidRuntime(10230): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
E/AndroidRuntime(10230): at android.app.ActivityThread.access$3000(ActivityThread.java:125)
E/AndroidRuntime(10230): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
E/AndroidRuntime(10230): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10230): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10230): at android.app.ActivityThread.main(ActivityThread.java:4627)