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

panic: runtime error: index out of range [0] with length 0 #326

Open
aiweed opened this issue Jul 27, 2023 · 0 comments
Open

panic: runtime error: index out of range [0] with length 0 #326

aiweed opened this issue Jul 27, 2023 · 0 comments

Comments

@aiweed
Copy link

aiweed commented Jul 27, 2023

o_list":null,"upload_id":"rapid-d5c5f02d-61fa-49ae-bfc1-59495bf5e7aa","rapid_upload":true,"type":"file","file_id":"64c22dbb6252f92097b94d7ca8c901f9cdc027f9","domain_id":"bj29","drive_id":"15195090","file_name":"issue22198.go","encrypt_mode":"none","location":"cn-beijing"},"uploadPartSeq":0,"uploadBlockSize":1048576}
panic: runtime error: index out of range [0] with length 0

goroutine 25 [running]:
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).uploadFile(0xc001ed8000, 0xf20678, 0xc0003d1180, 0x0, 0x0)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:540 +0x2505
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).DoAction(0xc001ed8000, 0xf20678, 0xc0003d1180, 0x0, 0x0)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:70 +0x1cf0
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor.func1(0xc001ed8000, 0xf20678, 0xc0003d1180, 0xc0001301c0, 0xc0002a9170)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:819 +0x45
created by github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:818 +0x30d

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

1 participant