Esteem mobile 2.0.9; The app crashed when I clicked on the icon to check voters info or the reply button. This crash happens after I search a word and open one of the search results.

in #utopian-io6 years ago (edited)

Project Information

Describe the bug
After I searched for a word on the search bar, I clicked on one of the search results. The content of the post didn't load. I decided to try out some of the icons on the page whether they would work. I clicked on some icons/buttons and the app crashed. The icons/buttons are;

  • Voters info list.
  • The reply button.

After I searched for a word and clicked on one of the results, the content didn't load. I clicked on any of those two buttons I listed above, and the app crashed. The weird thing is that both of them gave different logcat results.

To Reproduce
After doing all the necessary steps to get into the app;

  1. Click on the search icon located at the top right of the app.
  2. Type in a word in the search bar
  3. Click on any of the search results
  4. The Page opens, but, content doesn't load
  5. Click on any of these icons; Voters info, Reply button. Both of them are located at the bottom part of the app.
  6. See error. The app crashes when any of those buttons are clicked.

Expected behavior
I had two expectations;

First expectation
I expected that since the content of the page didn't load, the buttons on it would only be redundant, but won't cause the app to crash.
Second expectation
I expected that, if I clicked on those buttons, they'll perform the action there were originally meant to perform and perhaps, forcibly cause the content of the page to load.

Screenshots or Video

Test Environment

  • Device: Redmi Note 5 PRO
  • OS: Android 8.1
  • Software version: Esteem mobile 2.0.9

Additional context
Like I stated in the bug description, using any of those buttons gave different crash log results.

This is the logcat from when I clicked the voters info button;

[email protected]:1:1251
[email protected]:1:511
[email protected]:1:1678
[email protected]:1:8619
[email protected]:1:7383
[email protected]:1:4687
[email protected]:1:576
[email protected]:1:719
[email protected]:1:773
[email protected]:1:1940
[email protected]:1:2699
[email protected]:1:2499
<unknown>@89.js:1:14001
[email protected]:1:75072
[email protected]:1:13671
[email protected]:1:13844
[email protected]:1:14603
[email protected]:1:3311
<unknown>@25.js:1:822
[email protected]:1:2565
[email protected]:1:794

    at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
    at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
    at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
    at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
    at android.os.Looper.loop(Looper.java:171)
    at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
    at java.lang.Thread.run(Thread.java:764)


This is the logcat when I clicked the reply post button;

com.facebook.react.common.JavascriptException: TypeError: TypeError: TypeError: null is not an object (evaluating 'V.summary')

This error is located at:
    in s
    in InjectIntl(s)
    in n
    in InjectIntl(n)
    in Connect(InjectIntl(n))
    in S
    in InjectIntl(S)
    in Connect(InjectIntl(S))
    in s
    in RCTView
    in f
    in C
    in n
    in E
    in RCTView
    in n
    in RCTView
    in H
    in L
    in RCTView
    in h
    in v
    in h
    in _
    in N
    in s
    in c
    in h
    in N
    in C
    in Connect(C)
    in IntlProvider
    in o
    in n
    in Connect(n)
    in l
    in Unknown
    in h
    in RCTView
    in RCTView
    in c

This error is located at:
    in N
    in s
    in c
    in h
    in N
    in C
    in Connect(C)
    in IntlProvider
    in o
    in n
    in Connect(n)
    in l
    in Unknown
    in h
    in RCTView
    in RCTView
    in c

This error is located at:
    in N
    in C
    in Connect(C)
    in IntlProvider
    in o
    in n
    in Connect(n)
    in l
    in Unknown
    in h
    in RCTView
    in RCTView
    in c, stack:
[email protected]:1:3227
[email protected]:1:45857
[email protected]:1:61660
[email protected]:1:62132
[email protected]:1:69082
[email protected]:1:68425
[email protected]:1:75098
[email protected]:1:13671
[email protected]:1:13844
[email protected]:1:14603
[email protected]:1:3311
<unknown>@25.js:1:822
[email protected]:1:2565
[email protected]:1:794

    at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
    at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
    at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
    at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
    at android.os.Looper.loop(Looper.java:171)
    at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
    at java.lang.Thread.run(Thread.java:764)


GitHub Account

https://github.com/HarryHeights

Link to issue

Sort:  

HI @harry-heightz, thanks for making this contribution.

I was able to reproduce this error just as you have described. Clicking the icons causes the application to crash. I see the PO has fixed this bug for IOS. Also fixed for android but yet to be published.

Do you know that depending on your skill set - you can get extra reward points from analysing what possibly led to an error and also proposing a fix?

My feedback:

  1. Though the behavior is completely unexpected, not every user will proceed to click on the icons even when the intended page is not loading. I think the correct user story here would be to back track to the search page and then the home page.

  2. Does clicking the icon outside the affected "content page" also result in a crash? You should have confirmed this in your report, because following the reasons above - the behavior may only be of impact to just a select number of users.

  3. This report could have been merged with the report submitted by you here since everything happens in the "not loading content page".

  4. I like that you included a seperate crash log for every particular icon that crashed. Good job!

Thanks again for this report :)

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!

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!

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

a lot of bugs inside the app. why not complement similar bugs into one contribution?

it'll make the contribution messy. Thanks for your suggestion though.

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.034
BTC 114071.81
ETH 4439.34
SBD 0.87