{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/17430","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/17430/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/17430/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/17430/events","html_url":"https://github.com/flutter/flutter/issues/17430","id":321585363,"number":17430,"title":"Beta 3: ERROR:flutter/lib/ui/painting/codec.cc(89) when loading some JPG files (worked fine in Beta 2)","user":{"login":"freewheelnat","id":4062052,"avatar_url":"https://avatars1.githubusercontent.com/u/4062052?v=4","gravatar_id":"","url":"https://api.github.com/users/freewheelnat","html_url":"https://github.com/freewheelnat","followers_url":"https://api.github.com/users/freewheelnat/followers","following_url":"https://api.github.com/users/freewheelnat/following{/other_user}","gists_url":"https://api.github.com/users/freewheelnat/gists{/gist_id}","starred_url":"https://api.github.com/users/freewheelnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freewheelnat/subscriptions","organizations_url":"https://api.github.com/users/freewheelnat/orgs","repos_url":"https://api.github.com/users/freewheelnat/repos","events_url":"https://api.github.com/users/freewheelnat/events{/privacy}","received_events_url":"https://api.github.com/users/freewheelnat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-09T14:07:08Z","updated_at":"2018-05-16T16:15:11Z","closed_at":null,"author_association":"NONE","body":"My app includes video chat via Twilio on Android and takes some screenshots, which are saved to Firebase Storage. The screenshots are then shown on the home screen of the app.\r\n\r\nWith Beta 2, everything worked fine. But since upgrading to Beta 3, I sometimes get this error:\r\n```\r\nE/flutter ( 3414): [ERROR:flutter/lib/ui/painting/codec.cc(89)] Failed decoding image. Data is either invalid, or it is encoded using an unsupported format.\r\nI/flutter ( 3414): ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════\r\nI/flutter ( 3414): The following _Exception was thrown resolving an image codec:\r\nI/flutter ( 3414): Exception: operation failed\r\n```\r\n\r\nThis is for jpg files that previously could be shown without any issue with Beta 2. \r\n\r\nThe jpg files are loaded as Uint8List from Firebase storage into `myImageData` then, to show them, I use \r\n```\r\nnew Image.memory(\r\n          myImageData,\r\n          fit: BoxFit.cover)\r\n```\r\n\r\nJPG that throws error:\r\n\r\n![doesntwork](https://user-images.githubusercontent.com/4062052/39819009-3590fc1a-539a-11e8-8da3-7cf5d0eafe41.jpg)\r\n\r\nThis JPG works fine:\r\n![works](https://user-images.githubusercontent.com/4062052/39819010-35b02e64-539a-11e8-8204-7379cf6ea181.jpg)\r\n\r\nBoth JPGs above showed fine in the app, with the exact same code, before upgrading to Beta 3.\r\n\r\n(Edited for typo)"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/389577752","html_url":"https://github.com/flutter/flutter/issues/17430#issuecomment-389577752","issue_url":"https://api.github.com/repos/flutter/flutter/issues/17430","id":389577752,"user":{"login":"jason-simmons","id":14226037,"avatar_url":"https://avatars3.githubusercontent.com/u/14226037?v=4","gravatar_id":"","url":"https://api.github.com/users/jason-simmons","html_url":"https://github.com/jason-simmons","followers_url":"https://api.github.com/users/jason-simmons/followers","following_url":"https://api.github.com/users/jason-simmons/following{/other_user}","gists_url":"https://api.github.com/users/jason-simmons/gists{/gist_id}","starred_url":"https://api.github.com/users/jason-simmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason-simmons/subscriptions","organizations_url":"https://api.github.com/users/jason-simmons/orgs","repos_url":"https://api.github.com/users/jason-simmons/repos","events_url":"https://api.github.com/users/jason-simmons/events{/privacy}","received_events_url":"https://api.github.com/users/jason-simmons/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T16:15:11Z","updated_at":"2018-05-16T16:15:11Z","author_association":"CONTRIBUTOR","body":"This sounds like the bug that was fixed by:\r\n    https://github.com/flutter/engine/commit/b6be9377c58c488afea042a1b0ed8910b158c319\r\n\r\nTry upgrading to the latest engine on the master branch.  The beta channel is currently pinned to a version that predates this fix.\r\n"}}
{"actor":{"display_login":"jason-simmons"}}