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

Crashing when resuming novels on galaxy s23 #538

Open
5 tasks done
Marce2148 opened this issue Dec 3, 2024 · 8 comments
Open
5 tasks done

Crashing when resuming novels on galaxy s23 #538

Marce2148 opened this issue Dec 3, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Marce2148
Copy link

Steps to Reproduce

Navigate to Manga section
Scroll to novels
Open any novel and scroll a few pages
Close novel
Reopen

Expected Outcome

The application should continue the novel on the page you left off.

Actual Outcome

The app crashed and displayed an error message.

Error Logs (if applicable)

Date/time: Tue Dec 03 14:23:06 CST 2024
Device: SM-S911U1
OS version: 14
App version: 3.1.0
App version code: 300100000
SDK version: 34
Manufacturer: samsung
Brand: samsung
Product: dm1quew
Device: dm1q
Hardware: qcom
Host: SWDK3909
ID: UP1A.231005.007
Type: user
User: dpi
Tags: release-keys
Time: 1721615952000
Radio: S911U1UES4CXG8,S911U1UES4CXG8
Bootloader: S911U1UES4CXG8
Board: kalama
Fingerprint: samsung/dm1quew/dm1q:14/UP1A.231005.007/S911U1UES4CXG8:user/release-keys
Supported ABIs: arm64-v8a, armeabi-v7a, armeabi
Supported 32 bit ABIs: armeabi-v7a, armeabi
Supported 64 bit ABIs: arm64-v8a
Is emulator: false

Thread: main
Activity: NovelReaderActivity
Exception: Unexpected JSON token at offset 42: Failed to parse type 'double' for input 'null' at path: $.fraction
JSON input: {"cfi":"epubcfi(/6/18!/4)","fraction":null,"tocItem":{"label":"Prologue","href":"OEBPS/Text/part0007.xhtml","subitems":null,"id":3},"currentLocation":null,"nextLocation":null,"totalLocations":217}
Stack trace:
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 42: Failed to parse type 'double' for input 'null' at path: $.fraction
JSON input: {"cfi":"epubcfi(/6/18!/4)","fraction":null,"tocItem":{"label":"Prologue","href":"OEBPS/Text/part0007.xhtml","subitems":null,"id":3},"currentLocation":null,"nextLocation":null,"totalLocations":217}
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:598)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:596)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble(StreamingJsonDecoder.kt:424)
at kotlinx.serialization.encoding.AbstractDecoder.decodeDoubleElement(AbstractDecoder.kt:56)
at com.vipulog.ebookreader.RelocationInfo$$serializer.deserialize(RelocationInfo.kt:5)
at com.vipulog.ebookreader.RelocationInfo$$serializer.deserialize(RelocationInfo.kt:5)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:107)
at com.vipulog.ebookreader.EbookReaderView$JavaScriptInterface$onRelocated$1.invokeSuspend(EbookReaderView.kt:248)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5b4a871, Dispatchers.Main]

Dartotsu Version

3.1.0

Operating System Version

Android 14

Device Information

Samsung galaxy s23

Additional Information

No response

Submission Checklist

  • I have searched existing issues to confirm this is not a duplicate.
  • I have provided a clear and descriptive title.
  • I am using the latest version of Dantotsu. If not, I have provided a reason for not updating.
  • I have updated all relevant extensions or dependencies.
  • I have filled out all the requested information accurately.
@Marce2148 Marce2148 added the bug Something isn't working label Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

🛠️ Thank you for reporting a bug!
Your issue has been successfully submitted and is now awaiting review. We appreciate your help in making Dantotsu better.
🔍 What Happens Next

  • Our team will investigate the issue and provide updates as soon as possible.
  • You may be asked for additional details or clarification if needed.
  • Once resolved, we'll notify you of the fix or provide a workaround.
    👥 Connect with Us
  • Discord: Engage with our community and ask questions.
  • Telegram: Reach out for real-time discussions and updates.
    We're working hard to resolve the issue and appreciate your patience!

@SamSupernoods
Copy link

which manga is it ? have u tried other mangas change extenstions?

@Marce2148
Copy link
Author

Marce2148 commented Dec 4, 2024 via email

@SamSupernoods
Copy link

is it only no game no life or is there more

@Marce2148
Copy link
Author

Marce2148 commented Dec 4, 2024 via email

@SamSupernoods
Copy link

i recommend u go into the discord sever and make a bug report as more people see discord

@Marce2148
Copy link
Author

Marce2148 commented Dec 4, 2024 via email

@VipulOG
Copy link

VipulOG commented Dec 9, 2024

Fixed in #536. Please test with the latest pretest version from Discord and let me know if it persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants