Insteem, version 1.5.1; App crashed when I 'go to blog and followed a user.
App info
Name: Insteem
Git /60
Version: v1.5.1
Description
When I visited the go to a blog
and tried to follow a user, the app crashed.
Expected behavior
I expected my account to follow the users account and be added to the list of her followers.
Steps to reproduce
After login into the app
Click on the menu button by the top left side
Click on `go to a blog and type a user name to get to the new page.
Click on the three dots in front of any user you want and click
follow
. After some seconds, you will see the crash.
Reproducing the b6obvm4
App info
Techno spark K7
Android 7.0
My github
Logcat
05-10 22:42:24.385 26095 26095 E AndroidRuntime: Process: com.insteem.ipfreely.steem, PID: 26095
05-10 22:42:24.385 26095 26095 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:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3950)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4005)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.-wrap25(ActivityThread.java)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6251)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView
05-10 22:42:24.385 26095 26095 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class TextView
05-10 22:42:24.385 26095 26095 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=16; index=978
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.content.res.StringBlock.get(StringBlock.java:65)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:1218)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.content.res.TypedArray.getString(TypedArray.java:205)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.widget.TintTypedArray.getString(TintTypedArray.java:143)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.widget.AppCompatTextHelper.updateTypefaceAndStyle(AppCompatTextHelper.java:274)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.widget.AppCompatTextHelper.loadFromAttributes(AppCompatTextHelper.java:177)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:93)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:83)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.app.AppCompatViewInflater.createTextView(AppCompatViewInflater.java:177)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:102)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.widget.Toast.makeText(Toast.java:269)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at com.insteem.ipfreely.steem.Fragments.WritePost.onStop(WritePost.kt:234)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.Fragment.performStop(Fragment.java:2662)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1519)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentManagerImpl.dispatchStop(FragmentManager.java:3250)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:245)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:641)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:184)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1289)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.Activity.performStop(Activity.java:6845)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3947)
05-10 22:42:24.385 26095 26095 E AndroidRuntime: at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4005)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at android.app.ActivityThread.-wrap25(ActivityThread.java)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6251)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-10 22:42:24.386 26095 26095 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)```
Hi @ckole, thanks for making this report.
I was able to reproduce the same behavior following the steps you provided. The app crashed the instant I followed a user.
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, 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]
Thank you for your review, @fego! Keep up the good work!
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
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 or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!