Insteem v1.5.1; The app crashes if I don't sign in immediately after installation and first launch and I exit the app.

in utopian-io •  last month

Project Information

Describe the bug

I installed the app from google playstore. I launched it after the installation was complete. Normally, I would have to input my login details. But, I didn't have access to it at that time so I exited the app. After I got my hands on my login details, I launched the app and it crashed. I felt it was a one-time thing, but the app kept crashing when I launched it.

Steps to reproduce.

  • Download the app from Google Playstore
  • After installation, launch the app.
  • When the app is launched, don't sign in.
  • Exit the app
  • Re-launch the app.
  • See error.

Expected Behaviour

I expected that I could access the app again if I didn't do it after the first launch.

Screen recording

Test Environment.

Device; Redmi Note 5 Pro
OS; Android 8.1
Software version; Insteem v1.5.1

Logcat

    at com.insteem.ipfreely.steem.AllRecyclerViewAdapter.<init>(AllRecyclerViewAdapted.kt:231)
    at com.insteem.ipfreely.steem.Fragments.CommentsFragment.onCreateView(CommentsFragment.kt:116)
    at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
    at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
    at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
    at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
    at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
    at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
    at androidx.fragment.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2243)
    at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:654)
    at androidx.fragment.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:146)
    at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1244)
    at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1092)
    at androidx.viewpager.widget.ViewPager.onMeasure(ViewPager.java:1622)
    at android.view.View.measure(View.java:22097)
    at androidx.constraintlayout.widget.ConstraintLayout.internalMeasureChildren(ConstraintLayout.java:1227)
    at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(ConstraintLayout.java:1572)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
    at com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:95)
    at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1556)
    at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:803)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
    at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6604)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
    at com.android.internal.policy.DecorView.onMeasure(DecorView.java:727)
    at android.view.View.measure(View.java:22097)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2475)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1551)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1808)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1439)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6899)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
    at android.view.Choreographer.doCallbacks(Choreographer.java:841)
    at android.view.Choreographer.doFrame(Choreographer.java:772)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)
    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)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

GitHub Account

https://github.com/HarryHeight

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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

I was able to reproduce the crash. I see the PO is yet to acknowledge the crash.

  1. The expected and actual behavior are very well written.
  2. The steps you provided were easy to follow. The recording very well complemented the written steps.
  3. You should always include a link to the issue opened on github

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 @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

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 can we connect in discord?

Hi, @harry-heightz!

You just got a 9.74% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.