#issac.mk-error

1 messages · Page 1 of 1 (latest)

obtuse parrot
#

hi there, i'm afraid i'm not familiar with feign. Looking at the error message itself, i'm making a guess that it's unable to parse something in the response. But you're going to need to trace through your code to figure out where the issue is.

valid cypress
#

you can treat feign as RPC, This error might related to json deserialize.

#

I want to know there might be something I dont know about the BalanceTransaction's serialize and deserialize with json.

obtuse parrot
#

i don't believe there's anything special. Just looking at the error message probably isn't going to be effective. You would first want to trace your code to figure out what are the values being passed into the line that is throwing this error

valid cypress
#

Can BalanceTransaction deserialize with a json? Is there any function can do this?

obtuse parrot
valid cypress
#

can I have the class public static final Gson GSON = createGson();

#

but I can't use it, it remind me that Cannot access com.google.gson.Gson

#

BalanceTransaction balanceTransaction = BalanceTransaction.GSON.fromJson(a, BalanceTransaction.class);

obtuse parrot
#

I'm afraid i don't understand the question, what are you trying to do here? Are you trying to retrieve a BalanceTransaction?