Skip to content

Malformed calls from JS: field sizes are different. #2

Open

Description

@ancjf

While using react-native-eos on react-native, I encountered a problem. Here is the error message, Can you help me to salve it?

Malformed calls from JS: field sizes are different.

[[15,6,33,22,6,13,33],[3,0,1,12,13,0,0],[[],[],[5],[2,7,{"iterations":1,"toValue":1,"frames":[0,0.008888888888888889,0.035555555555555556,0.08000000000000002,0.14222222222222222,0.22222222222222227,0.3200000000000001,0.4355555555555557,0.5644444444444444,0.6799999999999999,0.7777777777777777,0.8577777777777778,0.9199999999999999,0.9644444444444443,0.991111111111111,1,1],"type":"frames"},175],[],[8,2000,1551862846520,false]],84]
run
NativeRunnable.java
handleCallback
Handler.java:873
dispatchMessage
Handler.java:99
dispatchMessage
MessageQueueThreadHandler.java:29
loop
Looper.java:193
run
MessageQueueThreadImpl.java:192
run
Thread.java:764

react-native version:
"dependencies": {
"react": "16.6.3",
"react-native": "0.58.5",
"react-native-eos": "^1.0.1",
"react-native-eosjs": "^1.0.0",
"react-native-gesture-handler": "^1.0.16",
"react-native-scrollable-tab-view": "^0.10.0",
"react-native-vector-icons": "^6.3.0",
"react-navigation": "^3.3.2"
}

Activity

  1. vgagaleski commented on Mar 18, 2019

    @vgagaleski

    I was getting the same error while using
    ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d').then(trxResponse => { console.log('trxResponse', trxResponse); });
    Removing the console.log line solved the problem. Probably the malformed calls come from there.
    ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions