Bug:Insteem [v, 1.5.1] App crash on Android 6.0 and 6.1 when open

in utopian-io •  6 years ago  (edited)

Project Information

Describe the bug.

Whenever I click to open the app, it brings on a crash, but when I continue it takes me to the log in screen.

Steps to reproduce.

  • Launch the app

  • The crash will app, but it happens only on android 6.1 and 6.0

Expected Behaviour

The app should open freely without any form of crash.

Screen recording

Devices and Versions)

  • Device: [itel]

  • Version [6.1]

  • App version [1.5.1]

Log

05-05 00:28:53.923 21183 21183 E AndroidRuntime: Process: com.insteem.ipfreely.steem, PID: 21183
05-05 00:28:53.923 21183 21183 E AndroidRuntime: kotlin.KotlinNullPointerException
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at com.insteem.ipfreely.steem.AllRecyclerViewAdapter.<init>(AllRecyclerViewAdapted.kt:231)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at com.insteem.ipfreely.steem.Fragments.CommentsFragment.onCreateView(CommentsFragment.kt:116)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2243)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:654)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.fragment.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:146)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1244)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1092)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.viewpager.widget.ViewPager.onMeasure(ViewPager.java:1622)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.internalMeasureChildren(ConstraintLayout.java:1227)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(ConstraintLayout.java:1572)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:95)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1556)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:803)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5985)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2659)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.View.measure(View.java:18807)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
05-05 00:28:53.923 21183 21183 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.
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 @darewealth, thanks for making this contribution.

Unfortunately, the contribution is very similar to an issue opened here - https://github.com/hispeedimagins/steem/issues/51

I apologise for any inconvenience as a result. I look forward to more of your contributions.

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, @darewealth!

You just got a 1.25% 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.