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
Exception when pass empty list to the smart contract #733
Comments
@Hirama curious what you are wanting done here |
Considering the
The web3j generator will generate:
If one was to call
As the list is empty we should get the type of the list via reflection? |
snazha-blkio
added
awaiting-release
On release branch, awaiting build
and removed
awaiting-release
On release branch, awaiting build
labels
Jan 18, 2019
snazha-blkio
added a commit
that referenced
this issue
Feb 10, 2019
Fix for isse #733 Add explicit component type in constructors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contract with
function addAddresses(address point, address[] list) external;
When I try to execute contract method.
I got exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Problem is in this part of the code when trying to get the type from the first element of the empty list.
The text was updated successfully, but these errors were encountered: