[Insteem app v. 1.5.1] App crashed when I up voted mine and others comments.

in #utopian-io5 years ago

App info

insteem version Version 1.5.1

Actual behavior

When I clicked on the up vote icon on my comment or another person's comment, the app crashed.

Expected behavior

I expected that I should be able to up vote my comment or other peoples comment when I clicked on the up vote icon

Steps to reproduce

  • Launch the app

  • In put your private key to log in

  • locate any of your comment on any post

  • up vote your comment. The app will crash

Try this on other comments too. The app will also crash

Reproducing the bug

My comment

Others comment -

Device used

  • Teckno spark K7

Phone info

Tecno spark k7

  • Android 7.0
05-10 22:46:16.209 28971 28971 E AndroidRuntime: Process: com.insteem.ipfreely.steem, PID: 28971
05-10 22:46:16.209 28971 28971 E AndroidRuntime: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView
05-10 22:46:16.209 28971 28971 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class TextView
05-10 22:46:16.209 28971 28971 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=16; index=978
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.content.res.StringBlock.get(StringBlock.java:65)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:1218)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.content.res.TypedArray.getString(TypedArray.java:205)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.widget.TintTypedArray.getString(TintTypedArray.java:143)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.widget.AppCompatTextHelper.updateTypefaceAndStyle(AppCompatTextHelper.java:274)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.widget.AppCompatTextHelper.loadFromAttributes(AppCompatTextHelper.java:177)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:93)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:83)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.app.AppCompatViewInflater.createTextView(AppCompatViewInflater.java:177)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:102)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.widget.Toast.makeText(Toast.java:269)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at com.insteem.ipfreely.steem.HelperClasses.GetDynamicAndBlock$signalrstarterasync.onPostExecute(GetDynamicAndBlock.kt:503)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at com.insteem.ipfreely.steem.HelperClasses.GetDynamicAndBlock$signalrstarterasync.onPostExecute(GetDynamicAndBlock.kt:452)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.os.AsyncTask.finish(AsyncTask.java:683)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.os.AsyncTask.-wrap1(AsyncTask.java)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:700)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:110)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:203)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6251)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-10 22:46:16.209 28971 28971 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-10 22:46:17.337 28971 29253 E FirebaseCrash: Error sending crash report
05-10 22:46:17.337 28971 29253 E FirebaseCrash: bgl: Server did not receive report: Origin Error message: Invalid crash stacktrace or minidump.
05-10 22:46:17.337 28971 29253 E FirebaseCrash:     at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (040306-244116403):89)
05-10 22:46:17.337 28971 29253 E FirebaseCrash:     at bha.run(:com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (040306-244116403):14)
05-10 22:46:17.337 28971 29253 E FirebaseCrash:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
05-10 22:46:17.337 28971 29253 E FirebaseCrash:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
05-10 22:46:17.337 28971 29253 E FirebaseCrash:     at java.lang.Thread.run(Thread.java:761)
05-10 22:46:18.495   779  1997 E ActivityManager: Found activity ActivityRecord{d6487d2 u0 com.insteem.ipfreely.steem/.MainActivity t3134 f} in proc activity list using null instead of expected ProcessRecord{5d08639 28971:com.insteem.ipfreely.steem/u0a155}
05-10 22:46:18.625   223   223 E SurfaceFlinger: couldn't log to EventLog: Try again
05-10 22:46:18.674   779   854 E InputDispatcher: channel '442365c com.insteem.ipfreely.steem/com.insteem.ipfreely.steem.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-10 22:46:18.678   223   223 E SurfaceFlinger: couldn't log to EventLog: Try again
05-10 22:46:18.685   779   868 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=264, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
05-10 22:46:18.687   779   868 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=262, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED] ]
05-10 22:46:18.707 27158 27199 E         : appName=com.transsion.hilauncher, acAppName=/system/bin/surfaceflinger
05-10 22:46:18.707 27158 27199 E         : 0
05-10 22:46:32.811 29274 29295 E MPlugin : Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
05-10 22:46:33.191 29274 29300 E         : appName=app.esteem.mobile, acAppName=/system/bin/surfaceflinger
05-10 22:46:33.191 29274 29300 E         : 0
05-10 22:46:33.366   223   223 E SurfaceFlinger: couldn't log to EventLog: Try again
05-10 22:46:42.193 29359 29377 E GEL_DELAYED_EVENT_DEBUG: Failed delayed event dispatch, no dispatchers.
05-10 22:46:42.899 29359 29425 E MPlugin : Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
05-10 22:46:43.657 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:43.731 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:43.746 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:43.762 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:43.774 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:43.782 29359 29384 E YouTube : Invalid playback type; playback will not start.
05-10 22:46:44.204  1225  2345 E NetworkScheduler.TED: Couldn't start service: Intent { act=com.google.android.gms.gcm.ACTION_TASK_READY cmp=com.insteem.ipfreely.steem/com.firebase.jobdispatcher.GooglePlayReceiver (has extras) }. Are your permissions set correctly?
05-10 22:46:44.206  1225 24395 E NetworkScheduler: Unknown result code received: 4
05-10 22:46:50.285   223   223 E SurfaceFlinger: couldn't log to EventLog: Try again```
Sort:  

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. Ohh well, hulk snapped the finger and the magic of the infinity stones brought this back to life as well I guess.

My guess is the PO is at present busy or may just have abandoned the project for the time being.

It's great of you to have provided recordings for the two scenarios. Good job

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]

Hahahahahahahahaa. I can see you are damn familiar with AVENGERS. Not hulk this time but FEGO. Thanks for the review.

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!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 64507.66
ETH 3080.07
USDT 1.00
SBD 3.85