Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.owntracks.android.debug/org.owntracks.android.ui.preferences.PreferencesActivity}: #1951

Open
hybd666 opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels

Comments

@hybd666
Copy link

hybd666 commented Jan 2, 2025

  • App build number: v2.5.3
  • Android version: Android11-30
  • Device: Google Nexus 4
  • Installation source: manually from the APK
FATAL EXCEPTION: main
 Process: org.owntracks.android.debug, PID: 23833
 java.lang.RuntimeException: Unable to start activity ComponentInfo{org.owntracks.android.debug/org.owntracks.android.ui.preferences.PreferencesActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.owntracks.android.ui.preferences.ValidatingEditTextPreferenceDialogFragmentCompat: could not find Fragment constructor
         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
         at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5456)
         at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5362)
         at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69)
         at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
         at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
         at android.os.Handler.dispatchMessage(Handler.java:106)
         at android.os.Looper.loop(Looper.java:223)
         at android.app.ActivityThread.main(ActivityThread.java:7656)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
 Caused by: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.owntracks.android.ui.preferences.ValidatingEditTextPreferenceDialogFragmentCompat: could not find Fragment constructor
         at androidx.fragment.app.Fragment.instantiate(Fragment.java:692)
         at androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
         at androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:662)
         at androidx.fragment.app.FragmentState.instantiate(FragmentState.java:87)
         at androidx.fragment.app.FragmentStateManager.<init>(FragmentStateManager.java:92)
         at androidx.fragment.app.FragmentManager.restoreSaveStateInternal(FragmentManager.java:2799)
         at androidx.fragment.app.FragmentManager.attachController(FragmentManager.java:2958)
         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(ContextAwareHelper.kt:84)
         at androidx.activity.ComponentActivity.onCreate(ComponentActivity.kt:331)
         at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:216)
         at org.owntracks.android.ui.preferences.Hilt_PreferencesActivity.onCreate(Hilt_PreferencesActivity.java:64)
         at org.owntracks.android.ui.preferences.PreferencesActivity.onCreate(PreferencesActivity.kt:32)
         at android.app.Activity.performCreate(Activity.java:7994)
         at android.app.Activity.performCreate(Activity.java:7978)
         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
         ... 13 more
 Caused by: java.lang.NoSuchMethodException: org.owntracks.android.ui.preferences.ValidatingEditTextPreferenceDialogFragmentCompat.<init> []
         at java.lang.Class.getConstructor0(Class.java:2332)
         at java.lang.Class.getConstructor(Class.java:1728)
         at androidx.fragment.app.Fragment.instantiate(Fragment.java:677)
         ... 31 more
@growse growse self-assigned this Jan 9, 2025
@growse growse added the bug label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants