PROJECT INFO
https://github.com/marcelgross90/Cineaste
app name : cinetaste
EXPECTED BEHAVIOR
this application should allow users to use various features in different screen states
ACTUAL BEHAVIOR
when the user presses the "movie watched" button in landscape mode this application will crash
HOW TO REPPRODUCE
- download cinetaste from playstore
- launch the app
- click the + button
- Choose any movie
- change your phone's mode of mode from portrait mode to landscape mode and select "movies watched" button and record the bug
device : j5 prime android 7.0
browser : cinetaste v2.4.0
PROOF OF WORK DONE
https://github.com/marcelgross90/Cineaste/issues/29
bug recording
log cat file
Process: de.cineaste.android, PID: 14059
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.cineaste.android/de.cineaste.android.activity.MovieSearchActivity}: 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)```
Hello @muhammadarif, thank you for the contribution.
Your contribution has been evaluated according to Utopian rules 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]
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!