Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoSuchMethodError: Exception of type 'Java.Lang.NoSuchMethodError' was thrown.
[MonoDroid] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x00047>
[MonoDroid] at Android.Runtime.JNIEnv.GetMethodID (intptr,string,string) [0x00066] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:162
[MonoDroid] at Android.Views.View.get_IsAttachedToWindow () [0x00014] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.View.cs:5704
[MonoDroid] at IsAttachedToWindowBug.CustomNotification/CustomNotificationManager.RemoveNotification (IsAttachedToWindowBug.CustomNotification) [0x00014] in /Users/davidbarrett/Code/Reference Projects/IsAttachedToWindowBug/IsAttachedToWindowBug/CustomNotification.cs:182
[MonoDroid] at IsAttachedToWindowBug.CustomNotification/CustomNotificationManager.HandleMessage (Android.OS.Message) [0x00053] in /Users/davidbarrett/Code/Reference Projects/IsAttachedToWindowBug/IsAttachedToWindowBug/CustomNotification.cs:159
[MonoDroid] at Android.OS.Handler.n_HandleMessage_Landroid_os_Message_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.OS.Handler.cs:312
[MonoDroid] at (wrapper dynamic-method) object.a971e59c-0d0e-4d98-8502-b5bb868418f4 (intptr,intptr,intptr) <IL 0x00017, 0x0001f>
[MonoDroid] --- End of managed exception stack trace ---
[MonoDroid] java.lang.NoSuchMethodError: no method with name='isAttachedToWindow' signature='()Z' in class Landroid/view/View;
[MonoDroid] at isattachedtowindowbug.CustomNotification_CustomNotificationManager.n_handleMessage(Native Method)
[MonoDroid] at isattachedtowindowbug.CustomNotification_CustomNotificationManager.handleMessage(CustomNotification_CustomNotificationManager.java:52)
[MonoDroid] at android.os.Handler.dispatchMessage(Handler.java:99)
[MonoDroid] at android.os.Looper.loop(Looper.java:137)
[MonoDroid] at android.app.ActivityThread.main(ActivityThread.java:4745)
[MonoDroid] at java.lang.reflect.Method.invokeNative(Native Method)
[MonoDroid] at java.lang.reflect.Method.invoke(Method.java:511)
[MonoDroid] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
[MonoDroid] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
[MonoDroid] at dalvik.system.NativeStart.main(Native Method)
[mono-rt] Stacktrace:
[mono-rt]
[mono-rt] at <unknown> <0xffffffff>
[mono-rt] at (wrapper managed-to-native) object.wrapper_native_0xb671c840 (intptr,intptr,intptr) <IL 0x00027, 0xffffffff>
[mono-rt] at Android.Runtime.JNIEnv.CallObjectMethod (intptr,intptr) [0x00040] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:174
[mono-rt] at Java.Lang.Throwable.get_Message () [0x00043] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Java.Lang.Throwable.cs:234
[mono-rt] at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this__ (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
[mono-rt] at <unknown> <0xffffffff>
[mono-rt] at (wrapper dynamic-method) object.a971e59c-0d0e-4d98-8502-b5bb868418f4 (intptr,intptr,intptr) <IL 0x00034, 0x00073>
[mono-rt] at (wrapper native-to-managed) object.a971e59c-0d0e-4d98-8502-b5bb868418f4 (intptr,intptr,intptr) <IL 0x00023, 0xffffffff>
[mono-rt]
[mono-rt] =================================================================
[mono-rt] Got a SIGSEGV while executing native code. This usually indicates
[mono-rt] a fatal error in the mono runtime or one of the native libraries
[mono-rt] used by your application.
[mono-rt] =================================================================
[mono-rt]
[libc] Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 2019 (ototype.JavaBug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.