Skip to content

[Bug] versionCode=1105 RuntimeExceptions because NeoActivity cannot resume, causing an HttpException because navController has not been initialised. #790

@RokeJulianLockhart

Description

@RokeJulianLockhart

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I'm on the latest version.
  • I'm not using a test build (alpha/beta/release-candidate).
  • This issue contains only one bug.

Describe the bug

#!/usr/bin/env sh
adb logcat --buffer=crash
FATAL EXCEPTION: main
Process: com.machiav3lli.fdroid, PID: 6174
java.lang.RuntimeException: Unable to resume activity {com.machiav3lli.fdroid/com.machiav3lli.fdroid.NeoActivity}: coil3.network.HttpException: lateinit property navController has not been initialized
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5310)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5343)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:225)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:107)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:81)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2637)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8751)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:892)
Caused by: coil3.network.HttpException: lateinit property navController has not been initialized
	at com.machiav3lli.fdroid.NeoActivity.handleSpecialIntent(r8-map-id-6843ffdafbbf969a6fbc10a389f2a323b093170ace8e48e45a5fa1aa6c6ada7e:27)
	at com.machiav3lli.fdroid.NeoActivity.handleIntent(r8-map-id-6843ffdafbbf969a6fbc10a389f2a323b093170ace8e48e45a5fa1aa6c6ada7e:127)
	at com.machiav3lli.fdroid.NeoActivity.onNewIntent(r8-map-id-6843ffdafbbf969a6fbc10a389f2a323b093170ace8e48e45a5fa1aa6c6ada7e:9)
	at android.app.Activity.onNewIntent(Activity.java:2418)
	at android.app.Activity.performNewIntent(Activity.java:9029)
	at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1647)
	at android.app.Instrumentation.internalCallActivityOnNewIntent(Instrumentation.java:1668)
	at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1656)
	at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:4281)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5293)
	... 14 more

Expected Behavior

It shouldn't crash.

Neo Store's Version

versionName=1.1.1 (versionCode=1105)

Installation Source

IzzyOnDroid's repo

Last Known Working Version

I've no reference.

Relevant information

  1. Device

    Fairphone 5

  2. Android Version

    [ro.build.version.release]: [15]
    [ro.build.display.id]: [FP5.VT28.C.042.20250623]
  3. ROM

    If, by "ROM" (read-only memory?!), you mean distribution:

    #!/usr/bin/env sh
    adb shell getprop | grep -E 'Fairphone|fairphone'
    [persist.sys.fairphone.open]: [1]
    [ro.bootimage.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.odm.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.product.brand]: [Fairphone]
    [ro.product.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.product.manufacturer]: [Fairphone]
    [ro.product.odm.brand]: [Fairphone]
    [ro.product.odm.manufacturer]: [Fairphone]
    [ro.product.product.brand]: [Fairphone]
    [ro.product.product.manufacturer]: [Fairphone]
    [ro.product.system.brand]: [Fairphone]
    [ro.product.system.manufacturer]: [Fairphone]
    [ro.product.system_ext.brand]: [Fairphone]
    [ro.product.system_ext.manufacturer]: [Fairphone]
    [ro.product.vendor.brand]: [Fairphone]
    [ro.product.vendor.manufacturer]: [Fairphone]
    [ro.system.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.system_ext.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
    [ro.vendor.build.fingerprint]: [Fairphone/FP5/FP5:15/AQ3A.240912.001/VT28:user/release-keys]
  4. Disabled battery optimization for Neo Store?

    Yes.

  5. What is your selected installer?

    The "Default session installer".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions