iPaulPro / aFileChooser

[DEPRECATED] Android library that provides a file explorer to let users select files on external storage.
Apache License 2.0
1.79k stars 850 forks source link

java.lang.String java.io.File.getName() throws Null pointer #87

Open anbarasuthresnathan opened 7 years ago

anbarasuthresnathan commented 7 years ago

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getName()' on a null object reference at com.ipaulpro.afilechooser.utils.FileUtils.getMimeType(FileUtils.java:146)

While the uri is : content://com.google.android.apps.docs.storage/document/