{"action":"created","issue":{"url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/26","repository_url":"https://api.github.com/repos/netarchivesuite/solrwayback","labels_url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/26/comments","events_url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/26/events","html_url":"https://github.com/netarchivesuite/solrwayback/issues/26","id":342320737,"node_id":"MDU6SXNzdWUzNDIzMjA3Mzc=","number":26,"title":"image resizing does not work with openjdk","user":{"login":"vitezg","id":745368,"node_id":"MDQ6VXNlcjc0NTM2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/745368?v=4","gravatar_id":"","url":"https://api.github.com/users/vitezg","html_url":"https://github.com/vitezg","followers_url":"https://api.github.com/users/vitezg/followers","following_url":"https://api.github.com/users/vitezg/following{/other_user}","gists_url":"https://api.github.com/users/vitezg/gists{/gist_id}","starred_url":"https://api.github.com/users/vitezg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitezg/subscriptions","organizations_url":"https://api.github.com/users/vitezg/orgs","repos_url":"https://api.github.com/users/vitezg/repos","events_url":"https://api.github.com/users/vitezg/events{/privacy}","received_events_url":"https://api.github.com/users/vitezg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-18T13:07:50Z","updated_at":"2018-07-19T06:31:05Z","closed_at":"2018-07-19T06:30:27Z","author_association":"NONE","body":"The /services/image endpoint throws this exception with OpenJDK:\r\n` javax.imageio.IIOException: Invalid argument to native writeImage`\r\n\r\nChanging line 331 in SolrWaybackResource.java from this:\r\n`  @Produces(\"image/jpeg\")`\r\nto this:\r\n`  @Produces(\"image/png\")`\r\nfixes the issue.\r\n\r\nThis seems to be an openjdk specific bug: https://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file\r\nHowever changing the output image type in ImageUtils.java line 25 to TYPE_3BYTE_BGR from TYPE_INT_RGB does not fix this issue. "},"comment":{"url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/comments/406169204","html_url":"https://github.com/netarchivesuite/solrwayback/issues/26#issuecomment-406169204","issue_url":"https://api.github.com/repos/netarchivesuite/solrwayback/issues/26","id":406169204,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE2OTIwNA==","user":{"login":"thomasegense","id":5364348,"node_id":"MDQ6VXNlcjUzNjQzNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5364348?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasegense","html_url":"https://github.com/thomasegense","followers_url":"https://api.github.com/users/thomasegense/followers","following_url":"https://api.github.com/users/thomasegense/following{/other_user}","gists_url":"https://api.github.com/users/thomasegense/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasegense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasegense/subscriptions","organizations_url":"https://api.github.com/users/thomasegense/orgs","repos_url":"https://api.github.com/users/thomasegense/repos","events_url":"https://api.github.com/users/thomasegense/events{/privacy}","received_events_url":"https://api.github.com/users/thomasegense/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T06:31:05Z","updated_at":"2018-07-19T06:31:05Z","author_association":"CONTRIBUTOR","body":"(fixed on version_3_2_branch)"}}
{"actor":{"display_login":"thomasegense"}}