You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user taps the “Earning” button, he should be able to see his Balances and wallet history.
Actual behavior
Upon tapping the “Earning” button, the app stops after few seconds of loading the balances and wallet history.
How to reproduce
Download the latest release of HapRamp-Android from GitHub.
Open the HapRamp app.
Log-in via SteemConnect using your Steemit username and password.
Tap the icon for “Earning”.
After a few seconds of tapping the “Earning” button , the app crashes and prompts a message saying “HapRamp has stopped”.
Logcat Report
08-14 21:02:29.960 7762 7983 E AndroidRuntime: FATAL EXCEPTION: Thread-1003
08-14 21:02:29.960 7762 7983 E AndroidRuntime: Process: com.hapramp, PID: 7762
08-14 21:02:29.960 7762 7983 E AndroidRuntime: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 521 path $.user.json_metadata
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:888)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:853)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:802)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:774)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at hapramp.walletinfo.Wallet$1.onResponse(Wallet.java:25)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at hapramp.walletinfo.NetworkUtils$1.run(NetworkUtils.java:40)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 521 path $.user.json_metadata
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
08-14 21:02:29.960 7762 7983 E AndroidRuntime: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
Expected behavior
When a user taps the “Earning” button, he should be able to see his Balances and wallet history.
Actual behavior
Upon tapping the “Earning” button, the app stops after few seconds of loading the balances and wallet history.
How to reproduce
Logcat Report
Environment
Recording Of The Bug
https://www.youtube.com/watch?v=8i8UQLMbaTE
The text was updated successfully, but these errors were encountered: