intermittent "index out of range" on preview
See original GitHub issue(keepass v2.45, this plugin v1.2.0)
I see the following error in the preview window, but only intermittently - I either see a list of passwords or this error.
Failed to generate a password.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
If I use the plugin as the default password generator, this just results in intermittently not getting a password at all in the password field.
The previous version I used (I think it was 1.1.2 but I’m not certain) would, with some more restrictive settings, give a list with some entries and others with just an error text along the lines of “could not generate” (sorry again, I don’t remember the exact text). With this version it’s more all or nothing.
If the new approach is by design, I think the previous approach was preferable.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Getting "Out of range error" in a preview SwiftUI
I'm learning SwiftUI and are mapping my app, but I'm having an error with one of the previews. Hope you can help me...
Read more >Index out of range, SwiftUI | Apple Developer Forums
As you might notice, in the previews I set when to When.Year, that is crashing the app because the array valoriAsseX is bigger...
Read more >IndexOutOfRangeException Class (System)
The exception that is thrown when an attempt is made to access an element of an array or collection with an index that...
Read more >Array elements intermittently showing "<Index Out Of ...
I will try to reproduce on the Win10 pc. According to Process Explorer, this instance has been running since 10:34:27 AM 5/24/2021.
Read more >List Index Out of Range – Python Error [Solved]
This error generally occurs when we try to access an item in a list by using an index that doesn't exist within the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in Version 1.2.1
Thanks again for your help, @AGBrown
Just an FYI, I’m swamped at work at the moment, so might be a week or so before I have enough time to fix this and do an update.