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

tokenserver: Panic 'index out of bounds' #968

Closed
jrconlin opened this issue Jan 5, 2021 · 1 comment
Closed

tokenserver: Panic 'index out of bounds' #968

jrconlin opened this issue Jan 5, 2021 · 1 comment
Labels
3 Estimate - m - This is a small change, but there's some uncertainty. tokenserver

Comments

@jrconlin
Copy link
Member

jrconlin commented Jan 5, 2021

seeing:

thread 'actix-web' panicked at 'index out of bounds: the len is 0 but the index is 0', src/web/tokenserver.rs:244:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I suspect this is because I am creating a new sync record for a new sync db and there's no previous record to index from. We might want to add some handling for that case.

@jrconlin jrconlin changed the title tokenserver: Panic tokenserver: Panic 'index out of bounds' Jan 5, 2021
@jrconlin jrconlin added the 3 Estimate - m - This is a small change, but there's some uncertainty. label Apr 15, 2021
ethowitz pushed a commit that referenced this issue May 17, 2021
ethowitz added a commit that referenced this issue Jun 2, 2021
@ethowitz
Copy link
Contributor

ethowitz commented Jun 2, 2021

Closed by #1052

@ethowitz ethowitz closed this as completed Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 Estimate - m - This is a small change, but there's some uncertainty. tokenserver
Projects
None yet
Development

No branches or pull requests

2 participants