facebook/facebook-android-sdk — pull request #391 by CristianOliveiraDaRosa (2014-10-18 22:15:33+00:00)
Title: Android 2.1 - Fixed NullpointerException when request timeout while downl...

(Changing Pull Request did for master branch to dev)

Fixed NullpointerException on InputStreamReader when request timeout while downloading images.

This issue has occurred on Android 2.1 in Motorola Defy.

More details can be found in http://ivokee.com/log_error/show_all

Trace:
java.lang.NullPointerException at java.io.Reader.(Reader.java:65) at java.io.InputStreamReader.(InputStreamReader.java:65) at com.facebook.internal.ImageDownloader.download(ImageDownloader.java:248) at com.facebook.internal.ImageDownloader.access$1(ImageDownloader.java:205) at com.facebook.internal.ImageDownloader$DownloadImageWorkItem.run(ImageDownloader.java:356) at com.facebook.internal.WorkQueue$1.run(WorkQueue.java:118) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561) at java.lang.Thread.run(Thread.java:1096)

Thanks
Cristian Oliveira