{"action":"created","issue":{"url":"https://api.github.com/repos/web3j/web3j/issues/376","repository_url":"https://api.github.com/repos/web3j/web3j","labels_url":"https://api.github.com/repos/web3j/web3j/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/web3j/web3j/issues/376/comments","events_url":"https://api.github.com/repos/web3j/web3j/issues/376/events","html_url":"https://github.com/web3j/web3j/issues/376","id":299360678,"number":376,"title":"java.util.concurrent.ExecutionException: java.lang.StringIndexOutOfBoundsException: String index out of range: 64","user":{"login":"k06a","id":702124,"avatar_url":"https://avatars0.githubusercontent.com/u/702124?v=4","gravatar_id":"","url":"https://api.github.com/users/k06a","html_url":"https://github.com/k06a","followers_url":"https://api.github.com/users/k06a/followers","following_url":"https://api.github.com/users/k06a/following{/other_user}","gists_url":"https://api.github.com/users/k06a/gists{/gist_id}","starred_url":"https://api.github.com/users/k06a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k06a/subscriptions","organizations_url":"https://api.github.com/users/k06a/orgs","repos_url":"https://api.github.com/users/k06a/repos","events_url":"https://api.github.com/users/k06a/events{/privacy}","received_events_url":"https://api.github.com/users/k06a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-22T13:49:37Z","updated_at":"2018-02-22T14:56:24Z","closed_at":null,"author_association":"NONE","body":"```\r\nfunction info(string publicKey, uint256 hash, uint index) public constant returns(bytes32);\r\n```\r\n```\r\nval item = contract.info(publicKey, hash, i)\r\n                    .send()\r\n                    .toString(Charset.defaultCharset())\r\n                    .trim(Character.MIN_VALUE);\r\n```\r\n```\r\nCaused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 64\r\n\tat java.lang.String.substring(String.java:1963)\r\n\tat org.web3j.abi.TypeDecoder.decodeBytes(TypeDecoder.java:168)\r\n\tat org.web3j.abi.TypeDecoder.decode(TypeDecoder.java:61)\r\n\tat org.web3j.abi.FunctionReturnDecoder.build(FunctionReturnDecoder.java:120)\r\n\tat org.web3j.abi.FunctionReturnDecoder.decode(FunctionReturnDecoder.java:42)\r\n\tat org.web3j.tx.Contract.executeCall(Contract.java:159)\r\n\tat org.web3j.tx.Contract.executeCallSingleValueReturn(Contract.java:165)\r\n\tat org.web3j.tx.Contract.executeCallSingleValueReturn(Contract.java:176)\r\n\tat org.web3j.tx.Contract.lambda$executeRemoteCallSingleValueReturn$1(Contract.java:232)\r\n\tat org.web3j.protocol.core.RemoteCall.send(RemoteCall.java:30)\r\n\tat com.bitclave.node.repository.data.EthClientDataRepositoryImpl.readValueForKey(EthClientDataRepositoryImpl.kt:73)\r\n\tat com.bitclave.node.repository.data.EthClientDataRepositoryImpl.updateData(EthClientDataRepositoryImpl.kt:53)\r\n\tat com.bitclave.node.repository.data.ClientDataRepositoryStrategy.updateData(ClientDataRepositoryStrategy.kt:33)\r\n\tat com.bitclave.node.services.ClientProfileService$updateData$1.get(ClientProfileService.kt:33)\r\n\tat com.bitclave.node.services.ClientProfileService$updateData$1.get(ClientProfileService.kt:9)\r\n\tat java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)\r\n\tat java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)\r\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\n\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)\r\n\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)\r\n\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)\r\n```"},"comment":{"url":"https://api.github.com/repos/web3j/web3j/issues/comments/367706219","html_url":"https://github.com/web3j/web3j/issues/376#issuecomment-367706219","issue_url":"https://api.github.com/repos/web3j/web3j/issues/376","id":367706219,"user":{"login":"k06a","id":702124,"avatar_url":"https://avatars0.githubusercontent.com/u/702124?v=4","gravatar_id":"","url":"https://api.github.com/users/k06a","html_url":"https://github.com/k06a","followers_url":"https://api.github.com/users/k06a/followers","following_url":"https://api.github.com/users/k06a/following{/other_user}","gists_url":"https://api.github.com/users/k06a/gists{/gist_id}","starred_url":"https://api.github.com/users/k06a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k06a/subscriptions","organizations_url":"https://api.github.com/users/k06a/orgs","repos_url":"https://api.github.com/users/k06a/repos","events_url":"https://api.github.com/users/k06a/events{/privacy}","received_events_url":"https://api.github.com/users/k06a/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T14:56:24Z","updated_at":"2018-02-22T14:56:24Z","author_association":"NONE","body":"I am using `Ganache CLI v6.0.3 (ganache-core: 2.0.2)`"}}
{"actor":{"display_login":"k06a"}}