-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of listFiles() without the ID column results in a null pointer casting crash. #50
Labels
Comments
alexrintt
added a commit
that referenced
this issue
May 30, 2022
alexrintt
added a commit
that referenced
this issue
May 30, 2022
Indeed it is. I'll update the docs to something like: 'Id is optional, since it'll be queried even when not explicity requested'. I pushed some commits to make it optional. Thanks, @EternityForest! |
@all-contributors please add @EternityForest for bug |
@lakscastro I've put up a pull request to add @EternityForest! 🎉 |
3 tasks
alexrintt
added a commit
that referenced
this issue
May 31, 2022
alexrintt
added a commit
that referenced
this issue
May 31, 2022
alexrintt
added a commit
that referenced
this issue
May 31, 2022
alexrintt
added a commit
that referenced
this issue
May 31, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Specifically, we get an error trying to cast a null to a Kotlin String on that appears to be from line 212(https://github.com/lakscastro/shared-storage/blob/1bfeb88df69938c62d7709861cc426ec71515f3c/android/src/main/kotlin/io/lakscastro/sharedstorage/storageaccessframework/lib/DocumentCommon.kt), if one tries to iterate anything without enabling the id column.
Seems to be the culprit line.
I'm not actually sure this is really a bug, it might be simpler just to document that the Id column is needed.
The text was updated successfully, but these errors were encountered: