Bug #101151 Find gives an error message after 10 different searches
Submitted: 13 Oct 2020 11:39 Modified: 14 Oct 2020 11:55
Reporter: Web Rugby Email Updates:
Status: Won't Fix Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:8.0.19, 8.0.21 OS:Windows (10)
Assigned to: CPU Architecture:Any

[13 Oct 2020 11:39] Web Rugby
Description:
Editing a stored procedure in workbench.
T search for occurrences of a variable I copy the variable name into the Find box.
Then press the right or left arrows to search through the script.
This works fine for a while but after about 10 searches this error occurs.
It looks like the recent searches is not recycling its space when full and allowing the new search to displace the oldest search.

When the error occurs I get a popup:
Unexpected Error message
index out of range.  Must be non-negative and less than the size of the collection.
Parameter name: index

Workaround is to dismiss the error message.

How to repeat:
Edit a stored procedure and try to find more than 10 different 'words' using the Find facility
[14 Oct 2020 11:55] MySQL Verification Team
Hello,

Thank you for the report.
Verified as described.

Regards,
Ashwini Patil
[14 Oct 2020 11:56] MySQL Verification Team
8.0.21 test results

Attachment: 101151_test_results.PNG (image/png, text), 192.68 KiB.

[27 Oct 2020 12:39] MySQL Verification Team
Bug #101329 marked as duplicate of this one.
[14 Sep 18:05] Omer Barnir
Posted by developer:

This issue applies to the legacy MySQL Workbench 8.x implementation that is no longer supported or maintained.
MySQL Workbench 26.7 is a complete rewrite using a new technology stack and does not use the affected legacy implementation.
Therefore, this issue is not applicable to the current MySQL Workbench product and as such is closed.