storage-chooser icon indicating copy to clipboard operation
storage-chooser copied to clipboard

java.lang.RuntimeException: Unable to start activity

Open XJIOP opened this issue 7 years ago • 3 comments

crashes if open dialog and lost activity

FATAL EXCEPTION: main
java.lang.RuntimeException: 
Unable to start activity ComponentInfo{***}: 
java.lang.NullPointerException: 
Attempt to invoke virtual method 'void android.app.Dialog.setContentView(android.view.View)' on a null object reference
                                                   

and missed trigger to force close dialog...

XJIOP avatar Jan 23 '18 12:01 XJIOP

Can you explain the lost activity part. Are you clearing from recents or when getting an error on the activity it crashes?

codekidX avatar Feb 03 '18 18:02 codekidX

on low memory device open dialog then click task or minimize app and after go back to app activity has destroyed, and you get this error.

XJIOP avatar Feb 04 '18 15:02 XJIOP

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{***}: java.lang.NullPointerException: Attempt to invoke virtual method 'int[] com.codekidlabs.storagechooser.models.Config.getScheme()' on a null object reference

I am using version 2.0.4.2, and getting this type error on random devices in my crashlytics, but not able to reproduce, so please help to rectify these errors

ankitgupta199 avatar Jul 22 '19 10:07 ankitgupta199