The application crashes when switching to landscape mode and click "OK".

in #utopian-io7 years ago (edited)

Project Information



Expected behavior

Supposedly, the app does not crash when I switch to landscape mode and click "OK".

Actual behavior

When I click on "ADD ALL" then switch to landscape mode and click "OK", the application suddenly crashes.

How to reproduce

  • Install and open the app
  • Run the app and click "Palabre (RSS)".
  • Then, click "ADD ALL".
  • The next step, turn to landscape mode, then click "OK" then the application will crash.


  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 3.2.2

Recording Of The Bug

Proof of Work Done

https://github.com/apadet90

Logcat

05-28 23:22:34.128 27929 27929 E AndroidRuntime: FATAL EXCEPTION: main 05-28 23:22:34.128 27929 27929 E AndroidRuntime: Process: com.levelup.palabre, PID: 27929 05-28 23:22:34.128 27929 27929 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-28 23:22:34.128 27929 27929 E AndroidRuntime: at com.levelup.palabre.ui.c.a$1.onClick(CategoryDialog.java:140) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:162) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5527) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) 05-28 23:22:34.128 27929 27929 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)

Sort:  

Hi@apedet90. Thanks for making this contribution.

Sadly, this behavior described here is independent of the repo you provided. This particular repo has its latest release as far back 2015 and clearly states its use and purpose as found in the readme file.

The affected application seem to have been an extension created for this repo, using codes available in this library. Its safe to say that issues partaining to this app should be directed to a repo specially created for it.

I apologize for any inconvenience. I look forward to your next submissions.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]