create account

[Insteem v1.5.1] App crashed when I tried to resteem a post. by ckole

View this thread on: hive.blogpeakd.comecency.com
· @ckole ·
$10.95
[Insteem v1.5.1] App crashed when I tried to resteem a post.
### App info
Insteem, version 1.5.1
Github: https://github.com/hispeedimagins/steem/issues/42

### Actual behavior

When I clicked on the resteem icon to resteem a post, the app crashes

### Expected behavior

When I clicked on the resteem icon, I expected the post to be broadcasted and appear on my blog page.

### Steps to reproduce

After launching and entering the app

- look for any desired post and click on the resteem icon below the post and note the crash.

### Reproducing the bug

https://youtu.be/4ggQPVGjm54

### Device used

- Tecno Spark K7
- Android 7.0

### Logcat

```05-10 22:33:16.894 23993 23993 E AndroidRuntime: Process: com.insteem.ipfreely.steem, PID: 23993
05-10 22:33:16.894 23993 23993 E AndroidRuntime: java.lang.RuntimeException: Unable to stop activity {com.insteem.ipfreely.steem/com.insteem.ipfreely.steem.Post}: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3950)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4005)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.-wrap25(ActivityThread.java)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:110)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:203)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6251)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView
05-10 22:33:16.894 23993 23993 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class TextView
05-10 22:33:16.894 23993 23993 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=16; index=978
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.content.res.StringBlock.get(StringBlock.java:65)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:1218)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.content.res.TypedArray.getString(TypedArray.java:205)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.widget.TintTypedArray.getString(TintTypedArray.java:143)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.widget.AppCompatTextHelper.updateTypefaceAndStyle(AppCompatTextHelper.java:274)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.widget.AppCompatTextHelper.loadFromAttributes(AppCompatTextHelper.java:177)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:93)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:83)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatViewInflater.createTextView(AppCompatViewInflater.java:177)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:102)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.widget.Toast.makeText(Toast.java:269)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at com.insteem.ipfreely.steem.Fragments.WritePost.onStop(WritePost.kt:234)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.Fragment.performStop(Fragment.java:2662)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1519)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.dispatchStop(FragmentManager.java:3250)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:245)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:641)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:184)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1289)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.Activity.performStop(Activity.java:6845)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3947)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4005)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.-wrap25(ActivityThread.java)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:110)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:203)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6251)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-10 22:33:16.894 23993 23993 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-10 22:33:17.040   262 24559 E BWC     : MTK_IOC_MMDVFS_CMD failed.:Operation not permitted```
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 23 others
properties (23)
authorckole
permlinkinsteem-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post
categoryutopian-io
json_metadata{"links":["https://github.com/hispeedimagins/steem/issues/42","https://youtu.be/4ggQPVGjm54"],"tags":["utopian-io","bughunting"],"app":"esteem/2.0.0-mobile","format":"markdown+html","community":"esteem.app"}
created2019-05-15 01:34:27
last_update2019-05-15 01:34:27
depth0
children6
last_payout2019-05-22 01:34:27
cashout_time1969-12-31 23:59:59
total_payout_value8.097 HBD
curator_payout_value2.849 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8,016
author_reputation75,497,523,347,778
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,865,422
net_rshares22,516,865,861,978
author_curate_reward""
vote details (87)
@esteemapp ·
Thanks for using **eSteem**! <br>Your post has been voted as a part of [eSteem encouragement program](https://steemit.com/esteem/@good-karma/encouragement-program-continues-82eafcd10a299). Keep up the good work! Install [Android](https://play.google.com/store/apps/details?id=app.esteem.mobile), [iOS](https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=1451896376&mt=8) Mobile app or [Windows, Mac, Linux](https://github.com/esteemapp/esteem-surfer/releases) Surfer app, if you haven't already!<br>Learn more: https://esteem.app <br>Join our discord: https://discord.gg/8eHupPq
properties (22)
authoresteemapp
permlinkre-2019515t63335970z
categoryutopian-io
json_metadata{"tags":["esteem"],"app":"esteem/2.0-welcome","format":"markdown+html","community":"esteem.app"}
created2019-05-15 04:33:36
last_update2019-05-15 04:33:36
depth1
children0
last_payout2019-05-22 04:33:36
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_length593
author_reputation420,443,679,514,793
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,872,730
net_rshares0
@fego · (edited)
$4.58
Hi @ckole, thanks for making this report.

I was able to reproduce the same behavior following the steps you provided. The app crashed just like the report suggests. Why did you take so long to post the contribution on Utopian? Ooops, you already gave a reply in your last related report. My guess is the PO is at present busy or may just have abandoned the project for the time being.

The expected and actual behavior is very well written. The steps are well written and were easy to follow.

I look forward to your future reports.

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-2-2-2-3-).

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

[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , , , , , , , , , , , , , , , ,
properties (23)
authorfego
permlinkre-ckole-insteem-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post-20190515t021213495z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["ckole"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/5/2-1-2-2-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-05-15 02:12:15
last_update2019-05-15 02:13:42
depth1
children2
last_payout2019-05-22 02:12:15
cashout_time1969-12-31 23:59:59
total_payout_value3.495 HBD
curator_payout_value1.082 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length981
author_reputation168,836,422,039,217
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,867,038
net_rshares8,670,386,048,425
author_curate_reward""
vote details (18)
@ckole ·
Thank you for the review...
properties (22)
authorckole
permlinkre-fego-re-ckole-insteem-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post-20190515t113525009z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-05-15 11:35:30
last_update2019-05-15 11:35:30
depth2
children0
last_payout2019-05-22 11:35: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_length27
author_reputation75,497,523,347,778
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,891,006
net_rshares0
@utopian-io ·
Thank you for your review, @fego! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-ckole-insteem-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post-20190515t021213495z-20190517t052415z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-05-17 05:24:18
last_update2019-05-17 05:24:18
depth2
children0
last_payout2019-05-24 05:24:18
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_length56
author_reputation152,955,367,999,756
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id85,007,142
net_rshares0
@steem-ua ·
#### Hi @ckole!

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-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post-20190515t211209z
categoryutopian-io
json_metadata"{"app": "beem/0.20.19"}"
created2019-05-15 21:12:09
last_update2019-05-15 21:12:09
depth1
children0
last_payout2019-05-22 21:12:09
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_length284
author_reputation23,214,230,978,060
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,921,266
net_rshares0
@utopian-io ·
Hey, @ckole!

**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](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 (22)
authorutopian-io
permlinkre-insteem-v1-5-1-app-crashed-when-i-tried-to-resteem-a-post-20190515t191330z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-05-15 19:13:33
last_update2019-05-15 19:13:33
depth1
children0
last_payout2019-05-22 19:13:33
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_length587
author_reputation152,955,367,999,756
root_title"[Insteem v1.5.1] App crashed when I tried to resteem a post."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,915,551
net_rshares0