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

Words
261
Reading
2 min
Listen
Play
8y

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.