1.0: TypeError: Cannot read property 'length' of undefined
When calling a contract method that does not have any arguments I am getting the following error: TypeError: Cannot read property 'length' of undefined.
It looks to be coming from _encodeMethodABI where args is undefined rather than an array.
There is a bug here. See my post and answer here:
https://ethereum.stackexchange.com/a/23062/7132
Will be fixed in the next version, thanks for noticing.
Should be fixed in beta.12
Thanks. Keep up the great work!
Hello. It's still happening in 1.0.0-beta.24.
Pls reopen this issue still exists in beta27 :)
I installed beta.48....still exists
Still exists on 1.3.4, how to solve?
Still exists on 1.6.1
The bug still exists in 2.9.6
Still exists on 1.7.3
actually you should check your data if there is not undefined