Skip to content

Instantly share code, notes, and snippets.

@Neamar
Created April 2, 2018 13:37
Show Gist options
  • Save Neamar/3fee22c4a62aaf84c58aa50868ebde4a to your computer and use it in GitHub Desktop.
Save Neamar/3fee22c4a62aaf84c58aa50868ebde4a to your computer and use it in GitHub Desktop.
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #20
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: Process: fr.neamar.kiss, PID: 12879
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:353)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: Caused by: java.lang.NullPointerException: FileDescriptor must not be null
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.ParcelFileDescriptor.<init>(ParcelFileDescriptor.java:187)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.ParcelFileDescriptor$1.createFromParcel(ParcelFileDescriptor.java:1045)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.ParcelFileDescriptor$1.createFromParcel(ParcelFileDescriptor.java:1037)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.res.AssetFileDescriptor.<init>(AssetFileDescriptor.java:359)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.res.AssetFileDescriptor$1.createFromParcel(AssetFileDescriptor.java:372)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.res.AssetFileDescriptor$1.createFromParcel(AssetFileDescriptor.java:371)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:701)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1410)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1247)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.content.ContentResolver.openInputStream(ContentResolver.java:967)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at fr.neamar.kiss.result.ContactsResult.getDrawable(ContactsResult.java:181)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at fr.neamar.kiss.result.Result$AsyncSetImage.doInBackground(Result.java:360)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at fr.neamar.kiss.result.Result$AsyncSetImage.doInBackground(Result.java:338)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:333)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-02 01:10:51.903 10203 12879 1974 E AndroidRuntime: ... 4 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment