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

Crash on first launch and after confirming storage location #57

Open
renyuneyun opened this issue Mar 13, 2021 · 2 comments
Open

Crash on first launch and after confirming storage location #57

renyuneyun opened this issue Mar 13, 2021 · 2 comments

Comments

@renyuneyun
Copy link

renyuneyun commented Mar 13, 2021

I'm experiencing crash recently (it worked well previously). Therefore, I planned to reset the app.
After resetting, it crashes on the first screen (welcome), after launched for 0.5s. I granted the write permission, and this won't crash.
However, after choosing the storage location afterwards, and pressing the "next" button, it crashes again. It never shows the actual main page of the app.

I copied the crash log below:



time: 1615647319041
msg: java.lang.Exception: Read empty file: org.decsync.library.RealFileSys@4c941a5
stacktrace: java.lang.Exception: Read empty file: org.decsync.library.RealFileSys@4c941a5
	at org.decsync.library.NativeFile.read(NativeFile.kt:4)
	at org.decsync.library.DecsyncFile.readLines(DecsyncFile.kt:1)
	at org.decsync.library.DecsyncFile.readLines$default(DecsyncFile.kt:1)
	at org.decsync.library.DecsyncV1$Companion.getStaticInfo(DecsyncV1.kt:6)
	at org.decsync.library.Decsync$Companion.getStaticInfo(Decsync.kt:6)
	at org.decsync.cc.MainActivity.loadBooks(MainActivity.kt:6)
	at org.decsync.cc.MainActivity.access$loadBooks(MainActivity.kt:1)
	at org.decsync.cc.MainActivity$onResume$3.invokeSuspend(MainActivity.kt:2)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:15)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:4)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:4)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:1)

Some device information:
Device: OnePlus 6
Android version: 10
ROM: BlissROM 12.12

@renyuneyun
Copy link
Author

By the way, the calendar entries were still being updated while the UI of the app crashes. I confirmed this before resetting the app.

@bugsbunny88
Copy link

any resolution on this?

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

2 participants