Skip to content

Instantly share code, notes, and snippets.

@heiligerdankgesang
Created April 10, 2015 18:25
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 heiligerdankgesang/1a0266b82988ac515a6f to your computer and use it in GitHub Desktop.
Save heiligerdankgesang/1a0266b82988ac515a6f to your computer and use it in GitHub Desktop.
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] System.Threading.Tasks.TaskSchedulerException: An exception was thrown by a TaskScheduler. ---> System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at System.Threading.Tasks.ThreadPoolTaskScheduler.QueueTask (System.Threading.Tasks.Task task) [0x00041] in <filename unknown>:0
[MonoDroid] at System.Threading.Tasks.TaskScheduler.InternalQueueTask (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0
[MonoDroid] at System.Threading.Tasks.Task.ScheduleAndStart (Boolean needsProtection) [0x0002d] in <filename unknown>:0
[MonoDroid] --- End of inner exception stack trace ---
[MonoDroid] at System.Threading.Tasks.Task.ScheduleAndStart (bool) <IL 0x00090, 0x00384>
[MonoDroid] at System.Threading.Tasks.Task.InternalStartNew (System.Threading.Tasks.Task,System.Delegate,object,System.Threading.CancellationToken,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.StackCrawlMark&) <IL 0x00032, 0x001ef>
[MonoDroid] at System.Threading.Tasks.TaskFactory.StartNew (System.Action,System.Threading.CancellationToken) <IL 0x0001c, 0x00137>
[MonoDroid] at System.Reactive.Concurrency.TaskPoolScheduler.Schedule<object> (object,System.Func`3<System.Reactive.Concurrency.IScheduler, object, System.IDisposable>) <0x0037b>
[MonoDroid] at System.Reactive.Concurrency.Scheduler.ScheduleAsync_<object> (System.Reactive.Concurrency.IScheduler,object,System.Func`4<System.Reactive.Concurrency.IScheduler, object, System.Threading.CancellationToken, System.Threading.Tasks.Task>) <0x0014f>
[MonoDroid] at System.Reactive.Concurrency.Scheduler.ScheduleAsync (System.Reactive.Concurrency.IScheduler,System.Func`3<System.Reactive.Concurrency.IScheduler, System.Threading.CancellationToken, System.Threading.Tasks.Task>) <IL 0x0003c, 0x00227>
[MonoDroid] at TestAndroidApp.MainActivity.OnCreate (Android.OS.Bundle) [0x0006a] in /Users/dominicnahous/Downloads/TestAndroidApp/TestAndroidApp/MainActivity.cs:43
[MonoDroid] at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1502/7402e0b6/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
[MonoDroid] at (wrapper dynamic-method) object.3a151647-1b78-46c8-9cc9-7dee6d993ae8 (intptr,intptr,intptr) <IL 0x00017, 0x0005b>
[monodroid-timing] Runtime.register: start time: 1428690273179 ms
[monodroid-timing] JNIEnv.RegisterJniNatives ("Android.Runtime.JavaProxyThrowable, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065", 0xbef2b404) start: 1428690273179.28
[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable
[monodroid-timing] JNIEnv.RegisterJniNatives total time: 1428690273179.86 [elapsed: 0.584 ms]
[monodroid-timing] Runtime.register: end time: 1428690273180 [elapsed 1 ms]
[AndroidRuntime] Shutting down VM
[Mono] DllImport attempting to load: '/system/lib/libc.so'.
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: TestAndroidApp.TestAndroidApp, PID: 28570
[AndroidRuntime] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
[AndroidRuntime] ... 1 more
[AndroidRuntime] Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.Threading.Tasks.TaskSchedulerException: An exception was thrown by a TaskScheduler. ---> System.NullReferenceException: Object reference not set to an instance of an object
[AndroidRuntime] at System.Threading.Tasks.ThreadPoolTaskScheduler.QueueTask (System.Threading.Tasks.Task task) [0x00041] in <filename unknown>:0
[AndroidRuntime] at System.Threading.Tasks.TaskScheduler.InternalQueueTask (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0
[AndroidRuntime] at System.Threading.Tasks.Task.ScheduleAndStart (Boolean needsProtection) [0x0002d] in <filename unknown>:0
[AndroidRuntime] --- End of inner exception stack trace ---
[AndroidRuntime] at System.Threading.Tasks.Task.ScheduleAndStart (bool) <IL 0x00090, 0x00384>
[AndroidRuntime] at System.Threading.Tasks.Task.InternalStartNew (System.Threading.Tasks.Task,System.Delegate,object,System.Threading.CancellationToken,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.StackCrawlMark&) <IL 0x00032, 0x001ef>
[AndroidRuntime] at System.Threading.Tasks.TaskFactory.StartNew (System.Action,System.Threading.CancellationToken) <IL 0x0001c, 0x00137>
[AndroidRuntime] at System.Reactive.Concurrency.TaskPoolScheduler.Schedule<object> (object,System.Func`3<System.Reactive.Concurrency.IScheduler, object, System.IDisposable>) <0x0037b>
[AndroidRuntime] at System.Reactive.Concurrency.Scheduler.ScheduleAsync_<object> (System.Reactive.Concurrency.IScheduler,object,System.Func`4<System.Reactive.Concurrency.IScheduler, object, System.Threading.CancellationToken, System.Threading.Tasks.Task>) <0x0014f>
[AndroidRuntime] at System.Reactive.Concurrency.Scheduler.ScheduleAsync (System.Reactive.Concurrency.IScheduler,System.Func`3<System.Reactive.Concurrency.IScheduler, System.Threading.CancellationToken, System.Threading.Tasks.Task>) <IL 0x0003c, 0x00227>
[AndroidRuntime] at TestAndroidApp.MainActivity.OnCreate (Android.OS.Bundle) [0x0006a] in /Users/dominicnahous/Downloads/TestAndroidApp/TestAndroidApp/MainActivity.cs:43
[AndroidRuntime] at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1502/7402e0b6/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707
[AndroidRuntime] at (wrapper dynamic-method) object.3a151647-1b78-46c8-9cc9-7dee6d993ae8 (intptr,intptr,intptr) <IL 0x00017, 0x0005b>
[AndroidRuntime]
[AndroidRuntime] at md588890bb303d9adc82e453aaad14c49f4.MainActivity.n_onCreate(Native Method)
[AndroidRuntime] at md588890bb303d9adc82e453aaad14c49f4.MainActivity.onCreate(MainActivity.java:28)
[AndroidRuntime] at android.app.Activity.performCreate(Activity.java:6221)
[AndroidRuntime] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
[AndroidRuntime] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2611)
[AndroidRuntime] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2725)
[AndroidRuntime] at android.app.ActivityThread.access$900(ActivityThread.java:172)
[AndroidRuntime] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:102)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:145)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5834)
[AndroidRuntime] ... 4 more
[Mono] DllImport loaded library '/system/lib/libc.so'.
[Mono] DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so').
[Mono] Searching for 'gettid'.
[Mono] Probing 'gettid'.
[Mono] Found as 'gettid'.
[Mono] Assembly Ref addref System.Reactive.Core[0xaf03a100] -> System.Globalization[0xaf03adc0]: 2
[Mono] Assembly Ref addref System.Globalization[0xaf03adc0] -> mscorlib[0xaf094880]: 19
[Process] Sending signal. PID: 28570 SIG: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment