{"action":"created","issue":{"url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/396","repository_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android","labels_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/396/comments","events_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/396/events","html_url":"https://github.com/chat-sdk/chat-sdk-android/issues/396","id":368515456,"node_id":"MDU6SXNzdWUzNjg1MTU0NTY=","number":396,"title":"Unable to load image","user":{"login":"karan1213","id":5412693,"node_id":"MDQ6VXNlcjU0MTI2OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5412693?v=4","gravatar_id":"","url":"https://api.github.com/users/karan1213","html_url":"https://github.com/karan1213","followers_url":"https://api.github.com/users/karan1213/followers","following_url":"https://api.github.com/users/karan1213/following{/other_user}","gists_url":"https://api.github.com/users/karan1213/gists{/gist_id}","starred_url":"https://api.github.com/users/karan1213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karan1213/subscriptions","organizations_url":"https://api.github.com/users/karan1213/orgs","repos_url":"https://api.github.com/users/karan1213/repos","events_url":"https://api.github.com/users/karan1213/events{/privacy}","received_events_url":"https://api.github.com/users/karan1213/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-10T06:43:26Z","updated_at":"2018-10-10T10:35:42Z","closed_at":null,"author_association":"NONE","body":"```\r\nFatal Exception: io.reactivex.exceptions.UndeliverableException\r\njava.lang.Throwable: Unable to load image\r\nCaused by java.lang.Throwable: Unable to load image\r\n       at co.chatsdk.ui.utils.ImageBuilder$1.onFailureImpl(ImageBuilder.java:47)\r\n       at com.facebook.datasource.BaseDataSubscriber.onFailure(BaseDataSubscriber.java:59)\r\n       at com.facebook.datasource.AbstractDataSource$1.run(AbstractDataSource.java:174)\r\n       at com.facebook.common.executors.CallerThreadExecutor.execute(CallerThreadExecutor.java:49)\r\n       at com.facebook.datasource.AbstractDataSource.notifyDataSubscriber(AbstractDataSource.java:169)\r\n       at com.facebook.datasource.AbstractDataSource.notifyDataSubscribers(AbstractDataSource.java:160)\r\n       at com.facebook.datasource.AbstractDataSource.setFailure(AbstractDataSource.java:237)\r\n       at com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter.onFailureImpl(AbstractProducerToDataSourceAdapter.java:84)\r\n       at com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter.access$000(AbstractProducerToDataSourceAdapter.java:28)\r\n       at com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter$1.onFailureImpl(AbstractProducerToDataSourceAdapter.java:56)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.MultiplexProducer$Multiplexer.onFailure(MultiplexProducer.java:412)\r\n       at com.facebook.imagepipeline.producers.MultiplexProducer$Multiplexer$ForwardingConsumer.onFailureImpl(MultiplexProducer.java:506)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DelegatingConsumer.onFailureImpl(DelegatingConsumer.java:28)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.handleError(DecodeProducer.java:361)\r\n       at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.onFailureImpl(DecodeProducer.java:188)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DelegatingConsumer.onFailureImpl(DelegatingConsumer.java:28)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DelegatingConsumer.onFailureImpl(DelegatingConsumer.java:28)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.MultiplexProducer$Multiplexer.onFailure(MultiplexProducer.java:412)\r\n       at com.facebook.imagepipeline.producers.MultiplexProducer$Multiplexer$ForwardingConsumer.onFailureImpl(MultiplexProducer.java:506)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DelegatingConsumer.onFailureImpl(DelegatingConsumer.java:28)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.DelegatingConsumer.onFailureImpl(DelegatingConsumer.java:28)\r\n       at com.facebook.imagepipeline.producers.BaseConsumer.onFailure(BaseConsumer.java:112)\r\n       at com.facebook.imagepipeline.producers.NetworkFetchProducer.onFailure(NetworkFetchProducer.java:189)\r\n       at com.facebook.imagepipeline.producers.NetworkFetchProducer.access$100(NetworkFetchProducer.java:35)\r\n       at com.facebook.imagepipeline.producers.NetworkFetchProducer$1.onFailure(NetworkFetchProducer.java:75)\r\n       at com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.fetchSync(HttpUrlConnectionNetworkFetcher.java:86)\r\n       at com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher$1.run(HttpUrlConnectionNetworkFetcher.java:60)\r\n       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)\r\n       at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n       at java.lang.Thread.run(Thread.java:818)\r\n```\r\n\r\nI am using ChatSDK 4.0.26\r\nIts getting crashed when loading image on ChatActivity.\r\n\r\nIn Firebase I saw that the entry for pictureURL is \"file:///data/user/0/com.<package_name>/cache/cropped-1038003443.jpg\"\r\n\r\nIs this correct way of saving picture url?"},"comment":{"url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/comments/428523509","html_url":"https://github.com/chat-sdk/chat-sdk-android/issues/396#issuecomment-428523509","issue_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/396","id":428523509,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODUyMzUwOQ==","user":{"login":"bensmiley","id":5514010,"node_id":"MDQ6VXNlcjU1MTQwMTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5514010?v=4","gravatar_id":"","url":"https://api.github.com/users/bensmiley","html_url":"https://github.com/bensmiley","followers_url":"https://api.github.com/users/bensmiley/followers","following_url":"https://api.github.com/users/bensmiley/following{/other_user}","gists_url":"https://api.github.com/users/bensmiley/gists{/gist_id}","starred_url":"https://api.github.com/users/bensmiley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensmiley/subscriptions","organizations_url":"https://api.github.com/users/bensmiley/orgs","repos_url":"https://api.github.com/users/bensmiley/repos","events_url":"https://api.github.com/users/bensmiley/events{/privacy}","received_events_url":"https://api.github.com/users/bensmiley/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T10:35:42Z","updated_at":"2018-10-10T10:35:42Z","author_association":"CONTRIBUTOR","body":"@karan1213 Could you update to version `4.2.9` and see if the project persists? We've made some fies around image handling in the last few versions. "}}
{"actor":{"display_login":"bensmiley"}}