HBiSoft / PickiT

An Android library that returns real paths from Uri's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash on recent image file

andrewindayang opened this issue · comments

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1120, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:8585 flg=0x1 }}

is there any idea why the path is null????

i am using android 11

i am really sorry, found the issue where the permission is not allowed. May be this can be a solution for user who face this problem. thank you.

@andrewindayang i have the same issue which permission you added can you help me out

@HBiSoft i get this when trying to get multiple files from recent
Failure delivering result ResultInfo{who=null, request=1109302415, result=-1, data=Intent { flg=0x43 clip={application/msword application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.ms-powerpoint application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet text/plain application/pdf application/zip {...}{...}} }} to activity {com.piecyfer.onlinedoc/com.piecyfer.onlinedoc.activity.MainDashboard}: java.lang.NullPointerException