Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few seconds after tapping the "Earning" button, the app crashes #87

Closed
josephace135 opened this issue Aug 14, 2018 · 0 comments
Closed

Comments

@josephace135
Copy link

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

https://www.youtube.com/watch?v=8i8UQLMbaTE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant