esafirm / android-image-picker

Image Picker for Android 🤖
MIT License
1.12k stars 328 forks source link

java.lang.IllegalArgumentException: Abusive '1000' conflicts with requested '1000' #441

Open khemrajsharma opened 1 year ago

khemrajsharma commented 1 year ago

Expected Behavior

It should not crash

Actual Behavior

Crashing when requesting for image

Steps to Reproduce the Problem

java.lang.IllegalArgumentException: Abusive '1000' conflicts with requested '1000'
                                                                                                        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
                                                                                                        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
                                                                                                        at android.content.ContentProviderProxy.query(ContentProviderNative.java:481)
                                                                                                        at android.content.ContentResolver.query(ContentResolver.java:1256)
                                                                                                        at com.esafirm.imagepicker.features.fileloader.DefaultImageFileLoader$ImageLoadRunnable.queryData(DefaultImageFileLoader.kt:127)
                                                                                                        at com.esafirm.imagepicker.features.fileloader.DefaultImageFileLoader$ImageLoadRunnable.run(DefaultImageFileLoader.kt:209)
                                                                                                        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:922)

Specifications

Makwana619 commented 9 months ago

any fixes?

chebum commented 1 month ago

That's not a problem on the image picker. Exception is raised by com.vlite.sdk.servicehook.a.f which seems to be some third-party gallery app that causes the problem.