Project Information
- Repository: https://github.com/hispeedimagins/steem/
- Project Name: Insteem
Describe the bug.
I had a weird experience on the trending page on the app. When I access the trending page on the app, I can select different categories. That is;
- trending
- hot
- new
- promoted
- cashout etc. (Check the app to find out the rest).
The bug was experienced in the first category. That is; "Trending".
When I accessed the page and tried to check out the profile of the first 2 authors on the trending page, the app crashed.
Steps to reproduce.
- Access the options menu
- Go to trending
- Don't enter any tag
- Click OK
- When the trending page loads
- Click on the username of any of the first two authors on the list to view their profile
- See error. (The profile tries to load, the app freezes, and eventually crashes).
Expected behavior
When I tried checking out the profile of the other authors on the trending page(that is; aside from the first two), their profile page loaded successfully. I expected the same behaviour when I tried to check out the profile of the first two authors on the trending page.
Screen recording
Test environment
Device; Redmi Note 5 PRO
OS; Android 8.1
Software version; Insteem v1.1.2
Logcat
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 135315344983286 at line 1 column 2297 path $.user.proxied_vsf_votes[0]
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:228)
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:218)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
at com.google.gson.Gson.fromJson(Gson.java:927)
at com.google.gson.Gson.fromJson(Gson.java:892)
at com.google.gson.Gson.fromJson(Gson.java:841)
at com.google.gson.Gson.fromJson(Gson.java:813)
at com.insteem.ipfreely.steem.OpenOtherGuyBlog$GetProfile$stringRequest$1.onResponse(OpenOtherGuyBlog.kt:507)
at com.insteem.ipfreely.steem.OpenOtherGuyBlog$GetProfile$stringRequest$1.onResponse(OpenOtherGuyBlog.kt:38)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Caused by: java.lang.NumberFormatException: Expected an int but was 135315344983286 at line 1 column 2297 path $.user.proxied_vsf_votes[0]
at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1204)
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:226)
... 24 more
GitHub Account
https://github.com/HarryHeights
Link to Github Issue
Hi @harry-heightz, thanks for making this contribution.
I was able to reproduce the behavior just as you described. Too bad this is yet to be acknowledged. The application crashes when you navigate to the profiles of the first two authors on the trending page.
The steps you provided were quite easy to walk through. They were well complemented by the recording you provided.
The expected and actual behavior were written in a manner that allowed for easy understanding.
I really appreciate you providing a log of the crash. This should narrow down the search for what possibly led to the crash.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @harry-heightz!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @harry-heightz!
You just got a 11.47% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Very interesting ..
sir can i get your discord i want some help from you ..please..@harry-heightz
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @harry-heightz thanks for supporting us this is my 1st Monthsary at steemit please visit my blog with a comment if you have time
https://steemit.com/steemit/@article.colector/happily-1st-monthsary-on-steemit-my-30-days-report
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @harry-heightz!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit