When switching to landscape mode and click "OK". Application will crash.

in #utopian-io6 years ago

Project Information

Repository : https://github.com/levelup/palabre-extensions
Title : Palabre Feedly RSS Reader News
Publisher : LevelUp Studio


Expected behavior

Supposedly, Apps do not Crash. When a user rotates Android rotation into landscape mode and taps "OK"

Actual behavior

When the user clicks "MOVE TO..." then switches to landscape mode and taps "OK", the application suddenly crashes.

How to reproduce

IMG-20180530-WA0000.jpg

  1. Install and run the app
  2. Then, open the app and click on the three line icon located above the left side of the android screen
  3. Click on the "Manage Sources" feature
  4. Next, click on the three dot icon located in front of "CNN" and click back on "MOVE TO..."
  5. The next step, turn to landscape mode, then click "OK" then the application will crash.

IMG-20180530-WA0001.jpg


IMG-20180530-WA0002.jpg


IMG-20180530-WA0003.jpg


  • Device: Xiaomi Redmi 4X

  • Operating system: Marshmallow, 6.0.1

  • App Version: 3.2.2

Recording Of The Bug

Proof of Work Done

https://github.com/brigadelpg

Logcat

05-31 00:25:10.105 2446 2446 E AndroidRuntime: FATAL EXCEPTION: main
05-31 00:25:10.105 2446 2446 E AndroidRuntime: Process: com.levelup.palabre, PID: 2446
05-31 00:25:10.105 2446 2446 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.levelup.palabre.data.i.d' on a null object reference
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at com.levelup.palabre.ui.c.a$1.onClick(CategoryDialog.java:140)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:162)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5527)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-31 00:25:10.105 2446 2446 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-31 00:25:10.109 2446 2446 E MQSEventManagerDelegate: failed to get MQSService.

Sort:  

Thanks for contributing to Utopian!

Following the steps you provided I couldn't reproduce the bug. What I did find is that rotating while renaming causes the app to show it's home screen again, and not to crash completely, on both of my devices. Since it does produce a bug (even if not exactly the one you describe), it's a valid issue.

Note that GIF or video are much more appreciated and considered a better form than few screenshots scattered around in the report.

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 very much sir @achiron :-)

Hey @brigadelpg
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.19
TRX 0.13
JST 0.030
BTC 59722.01
ETH 3267.61
USDT 1.00
SBD 2.36