{"action":"closed","issue":{"url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/78","labels_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/78/comments","events_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/78/events","html_url":"https://github.com/jimmynicol/image-resizer/issues/78","id":114309596,"number":78,"title":"app crashes on jpg image","user":{"login":"shroukkhan","id":620534,"avatar_url":"https://avatars.githubusercontent.com/u/620534?v=3","gravatar_id":"","url":"https://api.github.com/users/shroukkhan","html_url":"https://github.com/shroukkhan","followers_url":"https://api.github.com/users/shroukkhan/followers","following_url":"https://api.github.com/users/shroukkhan/following{/other_user}","gists_url":"https://api.github.com/users/shroukkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/shroukkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shroukkhan/subscriptions","organizations_url":"https://api.github.com/users/shroukkhan/orgs","repos_url":"https://api.github.com/users/shroukkhan/repos","events_url":"https://api.github.com/users/shroukkhan/events{/privacy}","received_events_url":"https://api.github.com/users/shroukkhan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T16:48:17Z","updated_at":"2015-11-10T03:58:17Z","closed_at":"2015-11-10T03:58:17Z","body":"Hi,\r\nThe app works fine when I try to get a png image. however, whenever, it is a jpg image, it crashes with:\r\n\r\n\r\n/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:32\r\n          throw err;\r\n                ^\r\nTypeError: Cannot read property 'ext' of null\r\n    at Image.Object.defineProperty.set (/var/www/imageproxy/node_modules/image-resizer/src/image.js:194:34)\r\n    at Response.<anonymous> (/var/www/imageproxy/node_modules/image-resizer/src/streams/sources/s3.js:65:28)\r\n    at Request.<anonymous> (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:350:18)\r\n    at Request.callListeners (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/sequential_executor.js:100:18)\r\n    at Request.emit (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\r\n    at Request.emit (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:604:14)\r\n    at Request.transition (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:21:12)\r\n    at AcceptorStateMachine.runTo (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n    at /var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n    at Request.<anonymous> (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:22:9)\r\n    at Request.<anonymous> (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:606:12)\r\n    at Request.callListeners (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/sequential_executor.js:104:18)\r\n    at Request.emit (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\r\n    at Request.emit (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:604:14)\r\n    at Request.transition (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/request.js:21:12)\r\n    at AcceptorStateMachine.runTo (/var/www/imageproxy/node_modules/image-resizer/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n[gulp] [nodemon] app crashed - waiting for file changes before starting...\r\n\r\n\r\n\r\nAny idea what is going on ?"}}