Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app crashes after logging into the "Write Notes" page and trying to return to the dashboard page using the back icon. #187

Open
ahyar92 opened this issue Jun 1, 2018 · 0 comments

Comments

@ahyar92
Copy link

ahyar92 commented Jun 1, 2018

Expected behavior

when I go to the "Write a note" page and want to return to the dashboard page using the back icon, the app does not cause crashes.

Actual behavior

At first I tried to go to the "Write a note" page and make a note, but when I went back to the dashboard without storing the record using the back icon, the application suddenly crashed.

How to reproduce

  1. Install and open the app
  2. Next click Pencil Icon to write the note
  3. Once you are on the Write Notes page, click back icon to return to the dashboard page. Then you will find the crash as I experienced.

Environment

Tested on with devices:

DeviceAndroid Version
Xiaomi Redmi Note 5ANougat, 7.1.2 N2G47H (RAM : 2 GB)

Application Version: 3.1.3


Recording Of The Bug

https://www.youtube.com/watch?v=n6kveH8dqug&feature=youtu.be

Logcat

06-02 02:18:34.714  6482  6482 E AndroidRuntime: FATAL EXCEPTION: main
06-02 02:18:34.714  6482  6482 E AndroidRuntime: Process: org.kore.kolabnotes.android, PID: 6482
06-02 02:18:34.714  6482  6482 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String jp.wasabeef.richeditor.RichEditor.getHtml()' on a null object reference
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at org.kore.kolabnotes.android.fragment.DetailFragment.onBackPressed(DetailFragment.java:1493)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at org.kore.kolabnotes.android.fragment.DetailFragment$1.onClick(DetailFragment.java:200)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.view.View.performClick(View.java:5647)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:22462)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:754)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:163)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6361)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
06-02 02:18:34.714  6482  6482 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants