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

Bug fix: crash at startup #414

Merged
merged 1 commit into from
Sep 28, 2024
Merged

Bug fix: crash at startup #414

merged 1 commit into from
Sep 28, 2024

Conversation

wanderor
Copy link
Contributor

Error log:

2024-09-28 22:16:43.359 2119-2261 AndroidRuntime info.plateaukao.einkbro E FATAL EXCEPTION: DefaultDispatcher-worker-2
Process: info.plateaukao.einkbro, PID: 2119
java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.addAll(java.util.Collection)' on a null object reference
at info.plateaukao.einkbro.database.BookmarkManager$1.invokeSuspend(BookmarkDao.kt:227)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@9a91a3d, Dispatchers.IO]

Error log:

2024-09-28 22:16:43.359  2119-2261  AndroidRuntime          info.plateaukao.einkbro              E  FATAL EXCEPTION: DefaultDispatcher-worker-2
                                                                                                    Process: info.plateaukao.einkbro, PID: 2119
                                                                                                    java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.addAll(java.util.Collection)' on a null object reference
                                                                                                    	at info.plateaukao.einkbro.database.BookmarkManager$1.invokeSuspend(BookmarkDao.kt:227)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
                                                                                                    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
                                                                                                    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@9a91a3d, Dispatchers.IO]
@plateaukao plateaukao merged commit 7d84bcc into plateaukao:main Sep 28, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants