Project Information
- Repository: https://github.com/hispeedimagins/steem
- Project Name: Insteem
Expected behavior.
I expected that when I tried to visit a user's blog, when I input the username (starting with a capital letter), I will get an error message or the proposed action(which is to go to another user's blog) will not be performed.
Actual behavior.
The app crashed when I entered the username of another user start the first alphabet of the username in capital letter.
Steps to reproduce.
After doing all necessary measures to get into the app;
- Access the options menu
- Click on goto a blog
- Enter a steem username starting the first alphabet with a capital letter. (For example; Instead of searching fego, search Fego)
- See error. (The app crashes).
Test Environment
Device: Redmi Note 5 Pro
OS: Android 8.1
Software version: Insteem v1.5.0
Screen recording
Logcat
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:557)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
... 1 more
Caused by: org.json.JSONException: No value for content
at org.json.JSONObject.get(JSONObject.java:392)
at org.json.JSONObject.getJSONObject(JSONObject.java:612)
at com.insteem.ipfreely.steem.HelperClasses.JsonRpcResultConversion.ParseJsonBlog(JsonRpcResultConversion.kt:123)
at com.insteem.ipfreely.steem.Fragments.MyFeedFragment.addItems(MyFeedFragment.kt:373)
at com.insteem.ipfreely.steem.Fragments.MyFeedFragment$GetFeed$s$1.onResponse(MyFeedFragment.kt:304)
at com.insteem.ipfreely.steem.Fragments.MyFeedFragment$GetFeed$s$1.onResponse(MyFeedFragment.kt:41)
at com.android.volley.toolbox.JsonRequest.deliverResponse(JsonRequest.java:90)
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)
... 3 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. It is particularly strange that including a capital letter at the start of a name will result in a 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
Hahahahahahaha.... I'll careful of F's man. Thanks for your review @fego.
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
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
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