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

App occasionally crashes on startup #1447

Open
Twinov opened this issue Jan 7, 2024 · 0 comments
Open

App occasionally crashes on startup #1447

Twinov opened this issue Jan 7, 2024 · 0 comments

Comments

@Twinov
Copy link

Twinov commented Jan 7, 2024

Sometimes I have a crash on startup, maybe related to the fix in 2d5f77b

captured a stack trace:

E/Kuroba-dev | UNCAUGHT: Unhandled exception:
E/Kuroba-dev | UNCAUGHT: java.lang.RuntimeException: java.lang.IllegalStateException: message == null
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils.lambda$runWithExecutor$3(BackgroundUtils.java:129)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils.$r8$lambda$pNU0C8CWI4bwVEA5oO2zwmNxvMc(Unknown Source:0)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils$$ExternalSyntheticLambda1.run(Unknown Source:2)
E/Kuroba-dev | UNCAUGHT:  at android.os.Handler.handleCallback(Handler.java:942)
E/Kuroba-dev | UNCAUGHT:  at android.os.Handler.dispatchMessage(Handler.java:99)
E/Kuroba-dev | UNCAUGHT:  at android.os.Looper.loopOnce(Looper.java:201)
E/Kuroba-dev | UNCAUGHT:  at android.os.Looper.loop(Looper.java:288)
E/Kuroba-dev | UNCAUGHT:  at android.app.ActivityThread.main(ActivityThread.java:7884)
E/Kuroba-dev | UNCAUGHT:  at java.lang.reflect.Method.invoke(Native Method)
E/Kuroba-dev | UNCAUGHT:  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/Kuroba-dev | UNCAUGHT:  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
E/Kuroba-dev | UNCAUGHT: Caused by: java.lang.IllegalStateException: message == null
E/Kuroba-dev | UNCAUGHT:  at okhttp3.Response$Builder.build(Response.kt:326)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.core.net.NetUtilsClasses$NullCall.execute(NetUtilsClasses.java:377)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.core.net.NetUtilsClasses$NullCall.lambda$enqueue$0(NetUtilsClasses.java:362)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.core.net.NetUtilsClasses$NullCall.$r8$lambda$eCsh4UsNtPorZmvx37B5pGJLb5g(Unknown Source:0)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.core.net.NetUtilsClasses$NullCall$$ExternalSyntheticLambda0.run(Unknown Source:4)
E/Kuroba-dev | UNCAUGHT:  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils.lambda$runWithExecutor$4(BackgroundUtils.java:121)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils.$r8$lambda$9rYhI88R5umxXjUeRlJcaj1Psyk(Unknown Source:0)
E/Kuroba-dev | UNCAUGHT:  at com.github.adamantcheese.chan.utils.BackgroundUtils$$ExternalSyntheticLambda4.run(Unknown Source:6)
E/Kuroba-dev | UNCAUGHT:  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
E/Kuroba-dev | UNCAUGHT:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
E/Kuroba-dev | UNCAUGHT:  at java.lang.Thread.run(Thread.java:1012)
E/Kuroba-dev | UNCAUGHT: ------------------------------
E/Kuroba-dev | UNCAUGHT: END OF CURRENT RUNTIME MESSAGES
E/Kuroba-dev | UNCAUGHT: ------------------------------
E/Kuroba-dev | UNCAUGHT: Android API Level: 33
E/Kuroba-dev | UNCAUGHT: App Version: Kuroba-dev/v4.13.6-3b38cf65
E/Kuroba-dev | UNCAUGHT: Phone Model: Google Pixel 6 Pro
Twinov added a commit to Twinov/Kuroba that referenced this issue Feb 7, 2024
@Twinov Twinov mentioned this issue Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant