Project Information
- Repository:
https://github.com/hapramp/Hapramp-Android - Project Name: HapRamp-Android
- Publisher (if applicable):
/
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
- 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)
Environment
- App/Plugin version: HapRamp-Android v0.0.9
- Device: Samsung Galaxy J2 Prime (SM-G532G/DS)
- Operating system: Android version 6.0.1
Recording Of The Bug
GitHub Account
https://github.com/josephace135
GitHub Issue
In Issue #87 the developers of the application has fixed the issue.