Page 1 of 1

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

Posted: Thu Mar 18, 2021 11:13 am
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.

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

Posted: Thu Mar 18, 2021 3:31 pm
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.

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

Posted: Fri Mar 19, 2021 8:13 am
by brittneyr
This issue has been resolved and the fix will be in the next service release.

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

Posted: Tue Apr 13, 2021 10:47 am
by brittneyr
Please try build 4.5.76 and let me know if you are still experiencing this issue.

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

Posted: Wed Apr 21, 2021 9:23 am
by DiZzyDmon
I upgraded PrimalSQL to version 4.5.76 today.
I no longer get the errors.
Thanks for the fix!