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: crash on QBittorrentClient.getTorrentProperties() #81

Open
Yash-Garg opened this issue Dec 26, 2022 · 4 comments
Open

BUG: crash on QBittorrentClient.getTorrentProperties() #81

Yash-Garg opened this issue Dec 26, 2022 · 4 comments

Comments

@Yash-Garg
Copy link
Contributor

I am getting this crash report in Google Play Console, don't have much details.

I'm not sure but maybe it can be due to some fields exceeding the value of Int and needs Long type?

Stacktrace

Exception fc.c0:
  at qbittorrent.QBittorrentClient.getTorrentProperties (QBittorrentClient.java:251)
  at qbittorrent.QBittorrentClient$getTorrentProperties$1.invokeSuspend (QBittorrentClient.java)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java)
  at kotlinx.coroutines.EventLoop.processUnconfinedEvent (EventLoop.java:39)
  at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith (DispatchedContinuation.java:75)
  at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith (SuspendFunctionGun.java:69)
  at io.ktor.util.pipeline.SuspendFunctionGun.loop (SuspendFunctionGun.java:16)
  at io.ktor.util.pipeline.SuspendFunctionGun.access$loop (SuspendFunctionGun.java:23)
  at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith (SuspendFunctionGun.java:23)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8741)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
@Yash-Garg Yash-Garg changed the title BUG: crash on qbittorrent.QBittorrentClient.getTorrentProperties() BUG: crash on QBittorrentClient.getTorrentProperties() Dec 26, 2022
@DrewCarlson
Copy link
Owner

Any guesses as to which field may be the issue? There are a few values that can come from user configuration which might be the problem.

@Yash-Garg
Copy link
Contributor Author

Yash-Garg commented Jan 29, 2023

I did not get a chance to look at it more, will update if I find something related to it!

@Yash-Garg
Copy link
Contributor Author

Can you update the update the library on maven? @DrewCarlson the changes in deleteTorrents function aren't there. Thanks!

@DrewCarlson
Copy link
Owner

v1.0.0-beta04 is now available with that fix.

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