-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
App version: 1.4.0
Platform: Android 6.0 emulator
STR:
- fresh install the app and open the app
- click "+" on top to create a new activity
- Input "Test" and click the check symbol on the top
- long click the newly created activity "Test"
- click "delete"
- click "+" on top again
- input "Test" again and click the "recover" button, and click the check symbol on the top
- click "+" on top again, input "Test" again, and click the "rename" button, and click the check symbol on the top
- At this time we can see two "Test" activities are created with different color (maybe this is also a bug?)
- long click the first created "Test" activity, and delete it
- long click the second created "Test" activity, and edit it
- the app crashes
- Reproducing video for Step 1 - 9
- Exception Trace:
FATAL EXCEPTION: main
Process: de.rampro.activitydiary, PID: 6662
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String de.rampro.activitydiary.model.DiaryActivity.getName()' on a null object reference
at de.rampro.activitydiary.ui.generic.EditActivity$QHandler$3.onClick(EditActivity.java:202)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)