App Lounge : Random crash while launching the app
- /e/ version:
- Device model(s):
- Device rooted: yes/no
Summary
App Lounge : Random crash while launching the app
The problem
Steps to reproduce
- Random
What is the current behavior?
- Random crash while launching the app
What is the expected correct behavior?
- No crash should be observed
Technical informations
Relevant logs (adb logcat
)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: FATAL EXCEPTION: main
01-30 09:24:10.531 18633 18633 E AndroidRuntime: Process: foundation.e.apps, PID: 18633
01-30 09:24:10.531 18633 18633 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{foundation.e.apps/foundation.e.apps.MainActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment foundation.e.apps.application.subFrags.ApplicationDialogFragment: could not find Fragment constructor
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3431)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: Caused by: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment foundation.e.apps.application.subFrags.ApplicationDialogFragment: could not find Fragment constructor
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.instantiate(Fragment.java:628)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:483)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.<init>(FragmentStateManager.java:85)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.restoreSaveState(FragmentManager.java:2728)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.restoreChildFragmentState(Fragment.java:1890)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.onCreate(Fragment.java:1867)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.performCreate(Fragment.java:2949)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:475)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:278)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:3061)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.restoreChildFragmentState(Fragment.java:1891)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.onCreate(Fragment.java:1867)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.navigation.fragment.NavHostFragment.onCreate(NavHostFragment.java:264)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.performCreate(Fragment.java:2949)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:475)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:278)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:3061)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:240)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:276)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at foundation.e.apps.MainActivity.onCreate(MainActivity.kt:75)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7994)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7978)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1313)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3404)
01-30 09:24:10.531 18633 18633 E AndroidRuntime: ... 11 more
01-30 09:24:10.532 18633 18633 E AndroidRuntime: Caused by: java.lang.NoSuchMethodException: foundation.e.apps.application.subFrags.ApplicationDialogFragment.<init> []
01-30 09:24:10.532 18633 18633 E AndroidRuntime: at java.lang.Class.getConstructor0(Class.java:2332)
01-30 09:24:10.532 18633 18633 E AndroidRuntime: at java.lang.Class.getConstructor(Class.java:1728)
01-30 09:24:10.532 18633 18633 E AndroidRuntime: at androidx.fragment.app.Fragment.instantiate(Fragment.java:613)
01-30 09:24:10.532 18633 18633 E AndroidRuntime: ... 41 more
01-30 09:24:10.538 1424 3150 W ActivityTaskManager: Force finishing activity foundation.e.apps/.MainActivity
01-30 09:24:10.539 1424 18666 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
01-30 09:24:10.555 16506 16656 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=96c80d12-9358-488d-ae70-9bbb86fc5225, tags={ period_sync_work, com.linkedin.android.litrackingcomponents.tracking.TrackingEventWorker } ]
01-30 09:24:10.574 18633 18633 I Process : Sending signal. PID: 18633 SIG: 9
Full logs : test.log
Relevant screenshots
Solutions
Workaround
Possible fixes