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

Android: Fuse crashes on app relaunch if restoring saved state #55

Open
breautek opened this issue Feb 24, 2025 · 0 comments
Open

Android: Fuse crashes on app relaunch if restoring saved state #55

breautek opened this issue Feb 24, 2025 · 0 comments
Labels
Android bug Something isn't working

Comments

@breautek
Copy link
Contributor

FATAL EXCEPTION: main
Process: com.breautek.fuse.testapp, PID: 30712
java.lang.NullPointerException: Attempt to invoke interface method 'void com.breautek.fuse.FuseContext$IReadyCallback.onReady()' on a null object reference
	at com.breautek.fuse.FuseFragment._onContextReady(FuseFragment.java:87)
	at com.breautek.fuse.FuseFragment$$ExternalSyntheticLambda1.onReady(D8$$SyntheticClass:0)
	at com.breautek.fuse.FuseContext$$ExternalSyntheticLambda2.run(D8$$SyntheticClass:0)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8705)
	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:886)

$fuseCB appears to be null in this situation, even though it seems to be coming through on create. Further investigation is required.

@breautek breautek added Android bug Something isn't working labels Feb 24, 2025
@breautek breautek changed the title Fuse crashes on app relaunch if restoring saved state Android: Fuse crashes on app relaunch if restoring saved state Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant