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.
This topic is 2 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
DiZzyDmon
Posts: 73
Last visit: Thu Feb 29, 2024 8:01 am
Has voted: 1 time

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 17483 times
ErrorLog.txt
(323.48 KiB) Downloaded 511 times
Value of 5 is not valid for index.png
Value of 5 is not valid for index.png (41.92 KiB) Viewed 17483 times
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 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
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 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
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 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
SAPIEN Technologies, Inc.
User avatar
DiZzyDmon
Posts: 73
Last visit: Thu Feb 29, 2024 8:01 am
Has voted: 1 time

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!
This topic is 2 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.