Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Bug: proxy toString() produces NPE #110

Open
kabl opened this issue Apr 21, 2017 · 0 comments
Open

Bug: proxy toString() produces NPE #110

kabl opened this issue Apr 21, 2017 · 0 comments

Comments

@kabl
Copy link

kabl commented Apr 21, 2017

If you call the "toString()" method of your proxy this will produce an NPE.

proxy = ethereum.createContractProxy(...)
proxy.toString(); // <- NPE

This behaviour is also in other Object methods. Like "hashCode()" and "equals(...)".

The problem is that the method "SmartContract.callConstFunction(...)" tries to map the method name "toString" to a method in the Smart Contract Interface. Which does not exists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant