cineaste crash when rotate screen during load series

in #utopian-io7 years ago

PROJECT INFO

repositories : https://github.com/marcelgross90/Cineaste

EXPECTED BEHAVIOR

when users want to add a list of new series users should be able to add in various screen conditions

ACTUAL BEHAVIOR

when the user adds a new series then the user rotates the screen when the series list loading process is running this application will crash and will take the user back to the front page launcher

HOW TO REPRODUCE

  • download cinetaste from playstore
  • after that launch the app
  • select series section
  • then select watch list
  • then click option `+`
  • when the loading process is running rotation screen of your smartphone and see if this application will crash

BROWSER : CINE TASTE V 2.4.0
DEVICE : SAMSUNG J 5 PRIME ANDROID 7.0

BUG RECORDING

proof of work done

https://github.com/marcelgross90/Cineaste/issues/27
github.com/muhammadarif1

LOG CAT FILE

Process: de.cineaste.android, PID: 2096
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.cineaste.android/de.cineaste.android.activity.SeriesSearchActivity}: java.lang.IllegalStateException: savedInstanceState.getString("query", null) must not be null
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2367)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4038)
    at android.app.ActivityThread.access$900(ActivityThread.java:157)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5376)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:947)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742)
Caused by: java.lang.IllegalStateException: savedInstanceState.getString("query", null) must not be null
    at de.cineaste.android.activity.AbstractSearchActivity.onCreate(Unknown Source)
    at android.app.Activity.performCreate(Activity.java:6012)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)
    ... 11 more```
Sort:  

Hello @muhdammadarif,thank you for your contribution.I was able to reproduce the bug.You are right about the bug.You did not explain the "how to reproduce" section very well,please try to give more informations.

You are right about the bug,however according to the Utopian rules ; Submission of cosmetic or trivial UI issues (phone orientation, phone locking/unlocking etc.) that have negligible effect on the functionality of the application may lead to a lower score of your contribution, thus reducing your chances of receiving a reward.

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? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

thank you for your feedback

Hey @muhammadarif
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.08
TRX 0.29
JST 0.037
BTC 105923.77
ETH 3592.38
USDT 1.00
SBD 0.55