The cursor might not be initalized.
You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.