-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArrayIndexOutOfBoundsException in SafeArray.toVariantArray() #42
Comments
freemansoft
added a commit
that referenced
this issue
Mar 18, 2024
This change has been pushed into the source for some release in the future. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This method reads as follows:
The problem is the variable
i
in theSetObjectArrayElement()
call. It is running from lower to upper bound of the SafeArray, which is at least 1 for the lower bound, possibly a much larger number. Basically the issue is that SafeArray is indexed from at least 1 and Java arrays are indexed from zero.Solution:
The text was updated successfully, but these errors were encountered: