Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] java.lang.reflect.InvocationTargetException CustomShellItemRenderer.<init> #14369

Open
Nelo-cool opened this issue Jun 25, 2021 · 2 comments
Labels
a/shell 🐚 s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛
Projects

Comments

@Nelo-cool
Copy link

Description

After upgrade to XF 5.0 and publish release build to the store i observe random crashes of the application in the google console. This usually happens on Android 10 but I was not able to repeat this in a simulator or a real device in my hands! I know from Google that the device is the Oppo A5 2020, but I don't have it and I can't see what's inside in debug :(

Guys, please, help me:) Maybe any suggestions...

Steps to Reproduce

  1. Download from store
  2. Run the application
  3. Crash application and send message in google console:)

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue: 5.0.0.2012

  • Last known good version: 5.0.0.1829-pre6

  • Platform Target Frameworks:

    • iOS: suspended the build due to a problem in Android
    • Android: 10.0 (Oppo A5 2020)
  • Android Support Library / AndroidX Version:
    Xamarin.AndroidX.Lifecycle.LiveData 2.3.1
    Xamarin.AndroidX.Browser 1.3.0.5
    Xamarin.AndroidX.Legacy.Support.V4 1.0.0.7

  • NuGet Packages:
    Acr.UserDialogs 7.1.0.514
    LightInject 6.4.0
    MagicGradients 1.3.0
    Newtonsoft.Json 13.0.1
    Plugin.StoreReview 3.1.0
    Rg.Plugins.Popup 2.0.0.11
    System.Net.Http 4.3.4
    Xamarin.FFImageLoading 2.4.11.982
    Xamarin.FFImageLoading.Forms 2.4.11.982
    Xamarin.Firebase.Messaging 122.0.0
    Xamarin.Forms 5.0.0.2012
    Xamarin.Essentials 1.6.1
    Xamarin.AndroidX.Lifecycle.LiveData 2.3.1
    Xamarin.AndroidX.Browser 1.3.0.5
    Xamarin.AndroidX.Legacy.Support.V4 1.0.0.7
    Xamarin.Google.Android.Materia 1.3.0.1
    Xamarin.Google.Dagger 2.27.0
    Xamarin.CommunityToolkit 1.1.0
    Xamarin.CommunityToolkit.Markup 1.1.0

  • Affected Devices:
    Oppo A5 2020

Environment

Show/Hide Visual Studio info

Logs

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3511)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3650)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:83)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:151)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:111)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2213)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:238)
  at android.app.ActivityThread.main (ActivityThread.java:7864)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:998)
Caused by: androidx.fragment.app.Fragment$InstantiationException: 
  at androidx.fragment.app.Fragment.instantiate (Fragment.java:628)
  at androidx.fragment.app.FragmentContainer.instantiate (FragmentContainer.java:57)
  at androidx.fragment.app.FragmentManager$3.instantiate (FragmentManager.java:483)
  at androidx.fragment.app.FragmentStateManager.<init> (FragmentStateManager.java:85)
  at androidx.fragment.app.FragmentManager.restoreSaveState (FragmentManager.java:2714)
  at androidx.fragment.app.FragmentController.restoreSaveState (FragmentController.java:198)
  at androidx.fragment.app.FragmentActivity$2.onContextAvailable (FragmentActivity.java:149)
  at androidx.activity.contextaware.ContextAwareHelper.dispatchOnContextAvailable (ContextAwareHelper.java:99)
  at androidx.activity.ComponentActivity.onCreate (ComponentActivity.java:307)
  at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:269)
  at androidx.appcompat.app.AppCompatActivity.onCreate (AppCompatActivity.java:115)
  at crc64b2c671da0ae7d356.MainActivity.n_onCreate (Native Method)
  at crc64b2c671da0ae7d356.MainActivity.onCreate (MainActivity.java:39)
  at android.app.Activity.performCreate (Activity.java:7967)
  at android.app.Activity.performCreate (Activity.java:7956)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1320)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3482)
Caused by: java.lang.reflect.InvocationTargetException: 
  at java.lang.reflect.Constructor.newInstance0 (Native Method)
  at java.lang.reflect.Constructor.newInstance (Constructor.java:343)
  at androidx.fragment.app.Fragment.instantiate (Fragment.java:610)
  at Caused
  at Java.Interop.TypeManager.n_Activate
  at mono.android.TypeManager.n_activate (Native Method)
  at mono.android.TypeManager.Activate (TypeManager.java:7)
  at crc645b4afe922b77f99d.CustomShellItemRenderer.<init> (CustomShellItemRenderer.java:22)

Screenshots

изображение
изображение

Reproduction Link

My application in store:
https://play.google.com/store/apps/details?id=ru.thisislogic.gtrk35

@Nelo-cool Nelo-cool added s/unverified New report that has yet to be verified t/bug 🐛 labels Jun 25, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Sep 3, 2021
@jsuarezruiz
Copy link
Contributor

@Nelo-cool Could you share some specific steps to reproduce it?. Tried the App during some time but cannot reproduce the issue.

@jsuarezruiz jsuarezruiz moved this from New to Needs Info in Triage Sep 6, 2021
@jsuarezruiz jsuarezruiz added the s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. label Sep 6, 2021
@Nelo-cool
Copy link
Author

I would love to, but I don't know them! Updated all dll to to last version and connected Crashlytics from google firebase and i can monitoring now... I don't see any repetitions yet!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shell 🐚 s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛
Projects
Triage
  
Needs Info
Development

No branches or pull requests

2 participants