create account

Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page. by harry-heightz

View this thread on: hive.blogpeakd.comecency.com
@harry-heightz
$29.45
Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page.
#### Project Information
* Repository: https://github.com/hispeedimagins/steem
* Project Name: Insteem


#### Expected Behavior
I expected that I could scroll on the comments/replies page for as long as I wished. 

#### Actual Behaviour
The app crashed while scrolling through the content of the page. 

#### Steps to reproduce
After doing all the necessary things to get into the app;

- Access the options menu by clicking the 3 horizontal bar at the top left of the app.
- Click on "comments/replies"
- You can decide if you wish to scroll on the comments page or replies page. Any of them will produce same error.
- Scroll on the comments/replies page. 
- Scroll until the error occurs. 

#### Test Environment

Device: Redmi Note 5 Pro
OS: Android 8.1
Software version:  Insteem v1.5.0

#### Screen recording

https://youtu.be/iWooNihddPA

#### Logcat

``` java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	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: Value {"error":{"code":-32000,"message":"get_discussions_by_comments() got an unexpected keyword argument 'tag' (hivemind-alpha)"}} at result of type org.json.JSONObject cannot be converted to JSONArray
	at org.json.JSON.typeMismatch(JSON.java:100)
	at org.json.JSONObject.getJSONArray(JSONObject.java:591)
	at com.insteem.ipfreely.steem.HelperClasses.JsonRpcResultConversion.ParseJsonBlogMore(JsonRpcResultConversion.kt:228)
	at com.insteem.ipfreely.steem.HelperClasses.JsonRpcResultConversion.ParseJsonBlogMore$default(JsonRpcResultConversion.kt:219)
	at com.insteem.ipfreely.steem.CommentNotificationsSteemitFragment.addMoreItems(CommentNotificationsSteemitFragment.kt:375)
	at com.insteem.ipfreely.steem.CommentNotificationsSteemitFragment$GetMoreItems$s$1.onResponse(CommentNotificationsSteemitFragment.kt:354)
	at com.insteem.ipfreely.steem.CommentNotificationsSteemitFragment$GetMoreItems$s$1.onResponse(CommentNotificationsSteemitFragment.kt:37)
	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
馃憤  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 49 others
properties (23)
authorharry-heightz
permlinkinsteem-v150-the-app-crashed-when-i-scrolled-on-the-commentsreplies-page
categoryutopian-io
json_metadata{"tags":["utopian-io","bug-hunting","insteem","steem","steemit"],"app":"steem-plus-app"}
created2019-03-21 15:02:09
last_update2019-03-21 15:02:09
depth0
children4
last_payout2019-03-28 15:02:09
cashout_time1969-12-31 23:59:59
total_payout_value22.011 HBD
curator_payout_value7.439 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,741
author_reputation132,636,183,236,424
root_title"Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page."
beneficiaries
0.
accountsteemplus-pay
weight100
1.
accountutopian.pay
weight500
max_accepted_payout100,000.000 HBD
percent_hbd10,000
post_id81,683,735
net_rshares47,455,088,427,810
author_curate_reward""
vote details (113)
@steem-ua
#### 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](https://discord.gg/KpBNYGz)**
properties (22)
authorsteem-ua
permlinkre-insteem-v150-the-app-crashed-when-i-scrolled-on-the-commentsreplies-page-20190321t204527z
categoryutopian-io
json_metadata"{"app": "beem/0.20.18"}"
created2019-03-21 20:45:30
last_update2019-03-21 20:45:30
depth1
children0
last_payout2019-03-28 20:45:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length292
author_reputation23,214,230,978,060
root_title"Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,699,718
net_rshares0
@tobias-g
$8.81
Thanks for your contribution. 

I was able to replicate the issue, nice work on reporting with a log-cat included. 

I would recommend adding a link to your issue within your task as it makes it easier to review. 

Overall the steps were clear and easy to understand, however, I would recommend phrasing your expected and actual behaviour slightly different, try to avoid using the first person in this area of the bug report.  Very minor, but maybe a little help :)

Once again, thanks for your contribution. 

---

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/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](https://review.utopian.io/result/5/2-1-1-2-2-3-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
馃憤  , , , , , , , , , , , , , ,
properties (23)
authortobias-g
permlinkre-harry-heightz-insteem-v150-the-app-crashed-when-i-scrolled-on-the-commentsreplies-page-20190321t183322889z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/5/2-1-1-2-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-03-21 18:33:24
last_update2019-03-21 18:33:24
depth1
children1
last_payout2019-03-28 18:33:24
cashout_time1969-12-31 23:59:59
total_payout_value6.678 HBD
curator_payout_value2.131 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length963
author_reputation101,057,581,296,921
root_title"Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,693,825
net_rshares13,545,863,863,123
author_curate_reward""
vote details (15)
@utopian-io
Thank you for your review, @tobias-g! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-harry-heightz-insteem-v150-the-app-crashed-when-i-scrolled-on-the-commentsreplies-page-20190321t183322889z-20190324t092720z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-03-24 09:27:21
last_update2019-03-24 09:27:21
depth2
children0
last_payout2019-03-31 09:27:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation152,955,367,999,756
root_title"Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,842,779
net_rshares0
@utopian-io
Hey, @harry-heightz!

**Thanks for contributing on Utopian**.
We鈥檙e 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](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
馃憤  
properties (23)
authorutopian-io
permlinkre-insteem-v150-the-app-crashed-when-i-scrolled-on-the-commentsreplies-page-20190322t122845z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-03-22 12:28:48
last_update2019-03-22 12:28:48
depth1
children0
last_payout2019-03-29 12:28:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length595
author_reputation152,955,367,999,756
root_title"Insteem v1.5.0; The app crashed when I scrolled on the comments/replies page."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,732,481
net_rshares17,761,611,347
author_curate_reward""
vote details (1)