AmazeFileManager
AmazeFileManager copied to clipboard
Crash when edit bookmark change change device orientation
Issue explanation (write below this line)
Exception
- App Name: Amaze File Manager
- Package: com.amaze.filemanager
- Version: 3.6.2
- User Action: UI Error
- Request: Application crash
- OS: Linux Android 8.1.0 - 27
- Device: TB-8704X
- Model: Lenovo TB-8704X
- Product: TB-8704X
Crash log
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setOwnerActivity(android.app.Activity)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2781) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2859) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4702) at android.app.ActivityThread.-wrap18(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1598) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6518) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setOwnerActivity(android.app.Activity)' on a null object reference at android.app.DialogFragment.onActivityCreated(DialogFragment.java:482) at android.app.Fragment.performActivityCreated(Fragment.java:2517) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299) at android.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1557) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1618) at android.app.FragmentManagerImpl.dispatchMoveToState(FragmentManager.java:3027) at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2979) at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:178) at android.app.Activity.performCreate(Activity.java:7029) at android.app.Activity.performCreate(Activity.java:7014) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2734) ... 10 more
Reporter: shuvashish76
Steps to produce:
Click on Edit bookmark icon & at the same time change device orientation...
@shuvashish76 Talk about stress test! This is a very difficult scenario to handle 😂 you're a qa material my friend.
Tha nku 😂