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: index out of range [0] with length 0 #2466
Comments
For me k9s crashes with a similar errror when i use search, e.g. within a decoded secret with longer text.
No stacktrace though. |
@hc2p Can't seem to repro here at the ranch ;( |
It does not correlate with the search prompt nor content. But as of now i only have seen it when searching through secrets. On "bigger" secrets it crashes quite instantly. With "smaller" ones it takes a while, and usually seems to work fine.
|
Same or almost same error here: Ubuntu 22.04, amd64 K9s Rev: v0.0.0 ⚡️v0.31.4
|
@BLaDZer This looks like a different issue. Did this occur while in container view? |
@hc2p Thank you for the details! By |
@derailed by big secrets i mean one secret with a rather long payload, which i open using decode/x and then search through. |
@hc2p Big THANK YOU in full effect to you Hannes for the remainder of the week! I think I've found the issue?? and lassoing in a perf boost too as a bonus. |
That's great to hear! Glad I could help:) Thanks for keeping up the work on this wonderful tool! |
Thanks! Will keep my eyes open :) |
@derailed I don't remember exactly, but it's quite possible. I'm also happy to test the new release. |
* fix derailed#2466 * fix derailed#2465 * rel v0.31.5
* fix derailed#2466 * fix derailed#2465 * rel v0.31.5
Describe the bug
When trying to navigate through the tables sometimes k9s panics with an index out of range error.
To Reproduce
It's probably not at random, but I'm currently unable to find reproducible actions.
Historical Documents
Logs:
Expected behavior
Navigating through tables should not panic the application.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: