Skip to content
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

com.darsh.multipleimageselect.activities.ImageSelectActivity$ImageLoaderRunnable.run (ImageSelectActivity.java:439) java.lang.Thread.run (Thread.java:818) #39

Open
Siddhant-Myshopup opened this issue Feb 13, 2017 · 3 comments

Comments

@Siddhant-Myshopup
Copy link

This is an error that i am getting again and again, please let me know how can i resolve it

Exception java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getCount()' on a null object reference
com.darsh.multipleimageselect.activities.ImageSelectActivity$ImageLoaderRunnable.run (ImageSelectActivity.java:439)
java.lang.Thread.run (Thread.java:818)

Thanks

@darsh2
Copy link
Owner

darsh2 commented Mar 9, 2017

Hey, this issue is present in v0.0.4 of the library. It has been fixed here. Please update your build.gradle to use the latest build of this library. You can do so by inserting the commit hash of the latest commit.

dependencies {
  compile 'com.github.darsh2:MultipleImageSelect:28c6d56'
}

@wangzhanxian
Copy link

Fatal Exception: java.lang.IllegalArgumentException: the bind value at index 1 is null
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:493)
at android.content.ContentResolver.query(ContentResolver.java:436)
at com.darsh.multipleimageselect.activities.ImageSelectActivity$f.run(SourceFile:16)
at java.lang.Thread.run(Thread.java:819)

@happyer2018
Copy link

java.lang.IllegalArgumentException: the bind value at index 1 is null
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:1201)
at android.content.ContentResolver.query(ContentResolver.java:1127)
at android.content.ContentResolver.query(ContentResolver.java:1083)
at com.darsh.multipleimageselect.activities.ImageSelectActivity$ImageLoaderRunnable.run(ImageSelectActivity.java:439)
at java.lang.Thread.run(Thread.java:923)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants