Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

2024-12-17

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Crash Log: 1734402745062

Stacktrace:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.franciscan.ecare_pro/com.app.ecarepro.ui.MainActivity}:
androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate
fragment com.app.ecarepro.ui.studentProfile.StudentProfileLibraryTransFragment:
could not find Fragment constructor
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3867)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4009)
at
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:11
1)
at
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecu
tor.java:135)
at
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:
95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2465)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8370)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Caused by: androidx.fragment.app.Fragment$InstantiationException: Unable to
instantiate fragment
com.app.ecarepro.ui.studentProfile.StudentProfileLibraryTransFragment: could not
find Fragment constructor
at androidx.fragment.app.Fragment.instantiate(Fragment.java:687)
at
androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
at
androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:525)
at androidx.fragment.app.FragmentState.instantiate(FragmentState.java:84)
at
androidx.fragment.app.FragmentStateManager.<init>(FragmentStateManager.java:91)
at
androidx.fragment.app.FragmentManager.restoreSaveStateInternal(FragmentManager.java
:2562)
at
androidx.fragment.app.FragmentManager.attachController(FragmentManager.java:2722)
at
androidx.fragment.app.FragmentController.attachHost(FragmentController.java:117)
at androidx.fragment.app.FragmentActivity.lambda$init$3$androidx-fragment-
app-FragmentActivity(FragmentActivity.java:139)
at androidx.fragment.app.FragmentActivity$
$ExternalSyntheticLambda3.onContextAvailable(D8$$SyntheticClass:0)
at
androidx.activity.contextaware.ContextAwareHelper.dispatchOnContextAvailable(Contex
tAwareHelper.kt:84)
at androidx.activity.ComponentActivity.onCreate(ComponentActivity.java:358)
at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:216)
at com.app.ecarepro.ui.MainActivity.onCreate(MainActivity.kt:179)
at android.app.Activity.performCreate(Activity.java:8422)
at android.app.Activity.performCreate(Activity.java:8395)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1403)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3840)
... 12 more
Caused by: java.lang.NoSuchMethodException:
com.app.ecarepro.ui.studentProfile.StudentProfileLibraryTransFragment.<init> []
at java.lang.Class.getConstructor0(Class.java:3395)
at java.lang.Class.getConstructor(Class.java:2487)
at androidx.fragment.app.Fragment.instantiate(Fragment.java:672)
... 29 more

You might also like