You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
2020-08-03 00:55:28.614 17556-17594/com.jaiselrahman.filepickersample E/AndroidRuntime: FATAL EXCEPTION: arch_disk_io_3
Process: com.jaiselrahman.filepickersample, PID: 17556 java.lang.IllegalArgumentException: Invalid token LIMIT
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:472)
at android.content.ContentResolver.query(ContentResolver.java:1183)
at android.content.ContentResolver.query(ContentResolver.java:1115)
at androidx.core.content.ContentResolverCompat.query(ContentResolverCompat.java:81) at com.jaiselrahman.filepicker.model.MediaFileDataSource.getMediaFiles(MediaFileDataSource.java:160)
at com.jaiselrahman.filepicker.model.MediaFileDataSource.loadInitial(MediaFileDataSource.java:151)
at androidx.paging.PositionalDataSource.dispatchLoadInitial(PositionalDataSource.java:286)
at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:527)
at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:459)
at androidx.paging.ContiguousPagedList.(ContiguousPagedList.java:175)
at androidx.paging.PagedList.create(PagedList.java:216)
at androidx.paging.PagedList$Builder.build(PagedList.java:388)
at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:206)
at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:171)
at androidx.lifecycle.ComputableLiveData$2.run(ComputableLiveData.java:101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
To Reproduce
I've been trying to get a file but the app crashes.
Android info:
Emulator
Android R
The text was updated successfully, but these errors were encountered:
I face this problem as well, and no clue on error "Invalid token LIMIT". It seems this param is correct.
I think this is due to scoped storage but I don't know how to solve it.
and also, is this library not maintaining anymore? @jaiselrahman
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error Trace
2020-08-03 00:55:28.614 17556-17594/com.jaiselrahman.filepickersample E/AndroidRuntime: FATAL EXCEPTION: arch_disk_io_3
Process: com.jaiselrahman.filepickersample, PID: 17556
java.lang.IllegalArgumentException: Invalid token LIMIT
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:472)
at android.content.ContentResolver.query(ContentResolver.java:1183)
at android.content.ContentResolver.query(ContentResolver.java:1115)
at androidx.core.content.ContentResolverCompat.query(ContentResolverCompat.java:81)
at com.jaiselrahman.filepicker.model.MediaFileDataSource.getMediaFiles(MediaFileDataSource.java:160)
at com.jaiselrahman.filepicker.model.MediaFileDataSource.loadInitial(MediaFileDataSource.java:151)
at androidx.paging.PositionalDataSource.dispatchLoadInitial(PositionalDataSource.java:286)
at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:527)
at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:459)
at androidx.paging.ContiguousPagedList.(ContiguousPagedList.java:175)
at androidx.paging.PagedList.create(PagedList.java:216)
at androidx.paging.PagedList$Builder.build(PagedList.java:388)
at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:206)
at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:171)
at androidx.lifecycle.ComputableLiveData$2.run(ComputableLiveData.java:101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
To Reproduce
I've been trying to get a file but the app crashes.
Android info:
The text was updated successfully, but these errors were encountered: