Skip to content

F-droid crashes instantly when opening

  • Device OS and version: LineageOS 22.1-20250415-microG-oriole, Android 15
  • Device model/manufacturer: Google Pixel 6
  • F-Droid version (in the About screen): 1.23.0-alpha0
  • F-Droid privileged extension version (if installed):

What did you do? (clear steps if possible)

Open F-Droid

What did you expect to see?

F-Droid home screen

What did you see instead?

Crash report screen

Both stable (1.22.0) and the latest build (1.23.0-alpha0) crash instantly when opening. I had to install the latter via adb install since I cannot open F-Droid to install it. The issue is NOT intermittent; it always crashes instantly when opened.

Here is the trace from logcat:

04-29 15:27:12.268 24333 24333 I FDroidApp: This is the ACRA process (or we are hidden), not starting...
04-29 15:27:12.271 24298 24298 D AndroidRuntime: Shutting down VM
04-29 15:27:12.272 24298 24298 E AndroidRuntime: FATAL EXCEPTION: main
04-29 15:27:12.272 24298 24298 E AndroidRuntime: Process: org.fdroid.fdroid, PID: 24298
04-29 15:27:12.272 24298 24298 E AndroidRuntime: java.lang.ExceptionInInitializerError
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.FDroidApp.getRepoManager(FDroidApp.java:557)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.AppUpdateStatusManager.<init>(AppUpdateStatusManager.java:235)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.AppUpdateStatusManager.getInstance(AppUpdateStatusManager.java:117)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.views.main.MainActivity.onCreate(MainActivity.java:164)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:9019)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:8997)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1528)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4111)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4316)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:222)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2719)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:109)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:232)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:317)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8787)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)
04-29 15:27:12.272 24298 24298 E AndroidRuntime: Caused by: java.lang.NumberFormatException: For input string: "null"
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at java.lang.Integer.parseInt(Integer.java:790)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at java.lang.Integer.valueOf(Integer.java:1121)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.Preferences.stringToIntMap(Preferences.java:612)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.Preferences.getMirrorErrorData(Preferences.java:635)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.net.FDroidMirrorParameterManager.<init>(FDroidMirrorParameterManager.java:36)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        at org.fdroid.fdroid.net.DownloaderFactory.<clinit>(DownloaderFactory.java:39)
04-29 15:27:12.272 24298 24298 E AndroidRuntime:        ... 21 more
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information