java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

Xamarin Bugzilla | anubhav | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Issue with V7 AppCompat Toolbar

    Xamarin Bugzilla | 2 years ago | anubhav
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable

      System.NullReferenceException: Object reference not set to an instance of an object at Xamarin.Forms.Platform.Android.Platform.UpdateActionBarHomeAsUp (Android.App.ActionBar) <IL 0x0001f, 0x000ad> at Xamarin.Forms.Platform.Android.Platform.HideActionBar () <IL 0x0000d, 0x0005f> at Xamarin.Forms.Platform.Android.Platform.UpdateActionBar () <IL 0x000a8, 0x0033f> at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page) <IL 0x000c0, 0x003e3> at Xamarin.Forms.Platform.Android.FormsApplicationActivity.InternalSetPage (Xamarin.Forms.Page) <IL 0x000be, 0x00413> at Xamarin.Forms.Platform.Android.FormsApplicationActivity.SetMainPage () <IL 0x0000c, 0x00047> at Xamarin.Forms.Platform.Android.FormsApplicationActivity.LoadApplication (Xamarin.Forms.Application) <IL 0x0002e, 0x00153> at AppCompat.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00064] in /Users/Wes/Projects/AppCompat/Droid/MainActivity.cs:30 at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d23da369/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2707 at (wrapper dynamic-method) object.dff9271f-027b-4444-9924-202c6ad3e45c (intptr,intptr,intptr) <IL 0x00017, 0x0002b>

      at md5586d58fe00b6a03a6f64d0808f2689f0.MainActivity.n_onCreate()
    2. md5586d58fe00b6a03a6f64d0808f2689f0
      MainActivity.onCreate
      1. md5586d58fe00b6a03a6f64d0808f2689f0.MainActivity.n_onCreate(Native Method)
      2. md5586d58fe00b6a03a6f64d0808f2689f0.MainActivity.onCreate(MainActivity.java:29)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5017)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame