[Frames] [version:2.6.8] The app crashing after clicking the back (⬅)sign

in #utopian-io5 years ago (edited)

Project Information

  • Repository:Frames
  • Project Name: Frames
  • Submitted issue Here

Actual behavior

I choose an item to view ,after viewing the item the app crashes when i click the back sign in the top of screen.

Expected behavior

I expected that i can go back successfully after clicking the back sign without crashing the app.

How to reproduce

  1. Download the latest version from release page
  2. Install and open the app
  3. wait for loading some content(make sure you have date connection).
  4. click on a content to view
  5. Then click the "⬅" sign in the top of screen.
  6. See the error.
  7. Information

    • App version: 2.6.8
    • OS: Android 6.0.1
    • Device: Samsung J5

    Recording Of The Bug

GitHub Account:

https://github.com/maaudrana

Logcat

04-14 10:43:29.980  9301  9301 E AndroidRuntime: FATAL EXCEPTION: main

04-14 10:43:29.980  9301  9301 E AndroidRuntime: Process: jahirfiquitiva.apps.frames.sample, PID: 9301

04-14 10:43:29.980  9301  9301 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.ActivityOptions.isReturning()' on a null object reference

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.app.ActivityTransitionState.startEnter(ActivityTransitionState.java:203)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.app.ActivityTransitionState.startPostponedEnterTransition(ActivityTransitionState.java:197)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.app.Activity.startPostponedEnterTransition(Activity.java:6788)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at androidx.core.app.a.d(Unknown Source)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at androidx.e.a.o.supportStartPostponedEnterTransition(Unknown Source)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at jahirfiquitiva.libs.frames.helpers.extensions.ActivityKt.safeStartPostponedEnterTransition(Unknown Source)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at jahirfiquitiva.libs.frames.ui.fragments.base.BaseWallpapersFragment$onActivityReenter$2.onPreDraw(Unknown Source)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1014)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2603)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1528)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7530)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:686)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:622)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7325)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)

04-14 10:43:29.980  9301  9301 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
Sort:  

Thanks for your contribution.

I was able to replicate the issue mentioned using the video you provided, I feel that the steps however could have been more explicit as the content view you describe isn't a clear area of the application, instead potentially could have mentioned one of the images, minor but my overall view when trying to replicate with your steps.

With that said, it's great to see that the project owner has acknowledged your report and due to the severity of the issue I believe it will be something they want to fix in the near future, good work.

Great work on including a log-cat with this report.

There is a few grammatical errors within this report, I would recommend proof reading prior to submitting your contribution to Utopian.

Overall, I think the report will be useful for the project and I look forward to seeing more contributions from you. Thanks again for your contribution.


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, @tobias-g! Keep up the good work!

Hello, as a member of @steemdunk you have received a free courtesy boost! Steemdunk is an automated curation platform that is easy to use and built for the community. Join us at https://steemdunk.xyz

Upvote this comment to support the bot and increase your future rewards!

Hi @masudrana!

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

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.30
TRX 0.12
JST 0.034
BTC 63475.77
ETH 3117.23
USDT 1.00
SBD 3.94