android-filepicker icon indicating copy to clipboard operation
android-filepicker copied to clipboard

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String java.io.File.getAbsolutePath()’ on a null object reference

Open alijohar opened this issue 7 years ago • 4 comments

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String java.io.File.getAbsolutePath()’ on a null object reference at com.github.angads25.filepicker.view.FilePickerDialog.onItemClick(SourceFile:213) at android.widget.AdapterView.performItemClick(AdapterView.java:334) at android.widget.AbsListView.performItemClick(AbsListView.java:1531) at android.widget.AbsListView$PerformClick.run(AbsListView.java:3664) at android.widget.AbsListView$3.run(AbsListView.java:5585) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)

alijohar avatar Jul 05 '17 05:07 alijohar

Hey, which version of library are you using in your app?

singhangadin avatar Jul 05 '17 06:07 singhangadin

1.0.8

On Jul 5, 2017, at 11:09 AM, Angad Singh [email protected] wrote:

Hey, which version of library are you using in your app?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Angads25/android-filepicker/issues/56#issuecomment-313014488, or mute the thread https://github.com/notifications/unsubscribe-auth/ADH7LUyB3WR-VWcz1MMAwJTWmW9q3KyRks5sKy-WgaJpZM4ON4ov.

alijohar avatar Jul 05 '17 06:07 alijohar

Pudieron solucionarlo?

GiorgiToNieve avatar Jun 04 '18 19:06 GiorgiToNieve

Hi Angad,

Facing this same issue on filepicker:1.1.1 version as well. Do we have any solutions for this issue? Please note this is happening when we press back button without selecting any documents.

-- Thanks Sunil

esunilkumare avatar Dec 10 '18 11:12 esunilkumare