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

程序启动时报错:IndexOutOfBoundsException #1205

Open
Moositen opened this issue Nov 16, 2024 · 4 comments · May be fixed by #1208
Open

程序启动时报错:IndexOutOfBoundsException #1205

Moositen opened this issue Nov 16, 2024 · 4 comments · May be fixed by #1208
Labels
C 严重优先级, 需要立即修复 s: torrent 子系统: BT
Milestone

Comments

@Moositen
Copy link

问题描述

===============
[Android Version]: 13
[Android API Level]: 33
[System Locale]: zh_CN
[Process ID]: 23321
[User ID]: 0
[CPU ABI]: arm64-v8a
[Package Name]: me.him188.ani
[Version Name]: 4.0.0-beta04
[Version Code]: 30200
[Target SDK]: 34
[Min SDK]: 26
[Error Type]: JVM
[Crash Time]: 2024-11-16T10:35:10.777
[Stack Trace]:
java.lang.IndexOutOfBoundsException: pieceIndex 4 out of bounds 6526..6878
at me.him188.ani.app.torrent.api.pieces.PieceList.getByPieceIndex-ENozqHA(Unknown Source:40)
at me.him188.ani.app.torrent.api.pieces.TorrentDownloadController.findNextDownloadingPiece(Unknown Source:8)
at me.him188.ani.app.torrent.api.pieces.TorrentDownloadController.onPieceDownloaded(Unknown Source:17)
at me.him188.ani.app.torrent.anitorrent.session.AnitorrentDownloadSession.onPieceFinishedImpl(Unknown Source:59)
at me.him188.ani.app.torrent.anitorrent.session.AnitorrentDownloadSession.access$onPieceFinishedImpl(Unknown Source:0)
at me.him188.ani.app.torrent.anitorrent.session.AnitorrentDownloadSession$onPieceFinished$$inlined$useTorrentInfoOrLaunch$1.invoke(SourceFile:5)
at me.him188.ani.app.torrent.anitorrent.session.AnitorrentDownloadSession$onPieceFinished$$inlined$useTorrentInfoOrLaunch$1.invoke(SourceFile:1)
at me.him188.ani.app.torrent.anitorrent.DisposableTaskQueue.runAndDispose(Unknown Source:23)
at me.him188.ani.app.torrent.anitorrent.session.AnitorrentDownloadSession$taskQueue$1$1.invokeSuspend(Unknown Source:43)
at B6.a.resumeWith(Unknown Source:8)
at l8.L.run(Unknown Source:106)
at J1.a.run(Unknown Source:26)
at s8.j.run(Unknown Source:2)
at s8.a.run(Unknown Source:92)
Suppressed: q8.e: [y0{Cancelling}@38974a6, Dispatchers.IO]

复现步骤

No response

Ani 版本号

4.0.0-beta04

操作系统

Android

应用日志



@Moositen Moositen added the N 一般优先级 label Nov 16, 2024
@Him188
Copy link
Member

Him188 commented Nov 16, 2024

@StageGuard

@StageGuard
Copy link
Member

这个是 https://t.me/openani_dev/14924 的问题

@StageGuard
Copy link
Member

请提供详细日志

@Moositen
Copy link
Author

app.log

@StageGuard StageGuard linked a pull request Nov 16, 2024 that will close this issue
@Him188 Him188 linked a pull request Nov 16, 2024 that will close this issue
@Him188 Him188 added C 严重优先级, 需要立即修复 s: torrent 子系统: BT and removed N 一般优先级 labels Nov 16, 2024
@Him188 Him188 added this to the 4.0.0 milestone Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C 严重优先级, 需要立即修复 s: torrent 子系统: BT
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants