Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Crash on Android 4.4 devices caused by MediaStore #1

Open
mundane799699 opened this issue Feb 9, 2018 · 3 comments
Open

Crash on Android 4.4 devices caused by MediaStore #1

mundane799699 opened this issue Feb 9, 2018 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mundane799699
Copy link

02-09 13:37:41.063 16878-16944/io.github.tonnyl.sample E/AndroidRuntime: FATAL EXCEPTION: ModernAsyncTask #1
                                                                         Process: io.github.tonnyl.sample, PID: 16878
                                                                         java.lang.RuntimeException: An error occurred while executing doInBackground()
                                                                             at android.support.v4.content.ModernAsyncTask$3.done(ModernAsyncTask.java:161)
                                                                             at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
                                                                             at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
                                                                             at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                                                                             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                                             at java.lang.Thread.run(Thread.java:818)
                                                                          Caused by: java.lang.IllegalArgumentException: the bind value at index 8 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:502)
                                                                             at android.support.v4.content.ContentResolverCompat.query(ContentResolverCompat.java:80)
                                                                             at android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:61)
                                                                             at android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:39)
                                                                             at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:306)
                                                                             at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:59)
                                                                             at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:47)
                                                                             at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
                                                                             at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                                                                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                                                                             at java.lang.Thread.run(Thread.java:818) 

image

@TonnyL
Copy link
Owner

TonnyL commented Feb 9, 2018

Feel bad, I'll check it.

@TonnyL TonnyL self-assigned this Feb 9, 2018
@TonnyL TonnyL added the bug Something isn't working label Feb 9, 2018
@TonnyL TonnyL changed the title 小米4点击选择文件 Crash on Android 4.4 devices caused by MediaStore Feb 18, 2018
@TonnyL TonnyL added this to the 0.1.0 stable milestone Feb 18, 2018
@ultranumblol
Copy link

选择文件类型 the bind value at index 8 is null 这个错误还是有啊

@TonnyL
Copy link
Owner

TonnyL commented Feb 23, 2018

@ultranumblol 还没有修复, 另外现在Charles还处于alpha阶段,不建议在生产类项目中使用

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants