Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
DiZzyDmon
Posts: 51
Last visit: Tue Jul 06, 2021 11:44 am

Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

Post by DiZzyDmon »

Product, version: PrimalSQL 4.5.75.0
Operating system: Windows 10 20H2

With the latest release of PrimalSQL, on a random basis as I type within the query pane I get one of two anomalies:

1. A popup stating "Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'. Parameter name: index."
When I click OK in the popup, the file C:\Users\<username>\AppData\Roaming\SAPIEN\PrimalSQL 2021\ErrorLog.txt opens in Notepad.exe, with the latest instance of the error written at the end of the file.

2. After that initial error, occasionally a small white popup will appear near the cursor as I type. Sometimes this will move on to the full Unhandled Exception popup, sometimes it disappears.

These do not prevent me from working within PrimalSQL, but they are quite annoying.
Attachments
Little white popup near cursor.png
Little white popup near cursor.png (5.83 KiB) Viewed 8002 times
ErrorLog.txt
(323.48 KiB) Downloaded 208 times
Value of 5 is not valid for index.png
Value of 5 is not valid for index.png (41.92 KiB) Viewed 8002 times

User avatar
brittneyr
Site Admin
Posts: 813
Last visit: Fri Jul 23, 2021 9:18 am
Answers: 16
Been upvoted: 13 times

Re: Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

Post by brittneyr »

Thank you for reporting this issue. I have been able to reproduce this and have filed a bug report for the development team.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 813
Last visit: Fri Jul 23, 2021 9:18 am
Answers: 16
Been upvoted: 13 times

Re: Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

Post by brittneyr »

This issue has been resolved and the fix will be in the next service release.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 813
Last visit: Fri Jul 23, 2021 9:18 am
Answers: 16
Been upvoted: 13 times

Re: Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

Post by brittneyr »

Please try build 4.5.76 and let me know if you are still experiencing this issue.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
DiZzyDmon
Posts: 51
Last visit: Tue Jul 06, 2021 11:44 am

Re: Unhandled Exception: InvalidArgument=Value of '5' is not valid for 'index'

Post by DiZzyDmon »

I upgraded PrimalSQL to version 4.5.76 today.
I no longer get the errors.
Thanks for the fix!