{"action":"created","issue":{"url":"https://api.github.com/repos/OpenFeign/feign/issues/820","repository_url":"https://api.github.com/repos/OpenFeign/feign","labels_url":"https://api.github.com/repos/OpenFeign/feign/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/OpenFeign/feign/issues/820/comments","events_url":"https://api.github.com/repos/OpenFeign/feign/issues/820/events","html_url":"https://github.com/OpenFeign/feign/issues/820","id":372191631,"node_id":"MDU6SXNzdWUzNzIxOTE2MzE=","number":820,"title":"NPE on `RequestTemplate`","user":{"login":"velo","id":136590,"node_id":"MDQ6VXNlcjEzNjU5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/136590?v=4","gravatar_id":"","url":"https://api.github.com/users/velo","html_url":"https://github.com/velo","followers_url":"https://api.github.com/users/velo/followers","following_url":"https://api.github.com/users/velo/following{/other_user}","gists_url":"https://api.github.com/users/velo/gists{/gist_id}","starred_url":"https://api.github.com/users/velo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velo/subscriptions","organizations_url":"https://api.github.com/users/velo/orgs","repos_url":"https://api.github.com/users/velo/repos","events_url":"https://api.github.com/users/velo/events{/privacy}","received_events_url":"https://api.github.com/users/velo/received_events","type":"User","site_admin":false},"labels":[{"id":1020628539,"node_id":"MDU6TGFiZWwxMDIwNjI4NTM5","url":"https://api.github.com/repos/OpenFeign/feign/labels/breaking%20change","name":"breaking change","color":"b60205","default":false},{"id":45229629,"node_id":"MDU6TGFiZWw0NTIyOTYyOQ==","url":"https://api.github.com/repos/OpenFeign/feign/labels/bug","name":"bug","color":"fc2929","default":true},{"id":1097937773,"node_id":"MDU6TGFiZWwxMDk3OTM3Nzcz","url":"https://api.github.com/repos/OpenFeign/feign/labels/regression","name":"regression","color":"b73419","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-20T09:13:21Z","updated_at":"2018-10-23T12:06:46Z","closed_at":null,"author_association":"COLLABORATOR","body":"While testing `10.1` release #818 found an NPE on `RequestTemplate`\r\n\r\n```\r\nStacktrace was: java.lang.NullPointerException\r\n\tat feign.template.UriUtils.urlEncode(UriUtils.java:121)\r\n\tat feign.template.UriUtils.encodeChunk(UriUtils.java:217)\r\n\tat feign.template.UriUtils.encodeReserved(UriUtils.java:156)\r\n\tat feign.template.UriUtils.pathEncode(UriUtils.java:88)\r\n\tat feign.template.Template.encode(Template.java:121)\r\n\tat feign.template.Template.parseFragment(Template.java:210)\r\n\tat feign.template.Template.parseTemplate(Template.java:183)\r\n\tat feign.template.Template.<init>(Template.java:60)\r\n\tat feign.template.UriTemplate.<init>(UriTemplate.java:73)\r\n\tat feign.template.UriTemplate.create(UriTemplate.java:50)\r\n\tat feign.RequestTemplate.uri(RequestTemplate.java:444)\r\n\tat feign.RequestTemplate.uri(RequestTemplate.java:402)\r\n\tat feign.RequestTemplate.resolve(RequestTemplate.java:206)\r\n\tat feign.ReflectiveFeign$BuildTemplateByResolvingArgs.resolve(ReflectiveFeign.java:319)\r\n\tat feign.ReflectiveFeign$BuildEncodedTemplateFromArgs.resolve(ReflectiveFeign.java:377)\r\n\tat feign.ReflectiveFeign$BuildTemplateByResolvingArgs.create(ReflectiveFeign.java:223)\r\n\tat feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:71)\r\n\tat feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:102)\r\n```\r\n\r\nIt only happens with `binary` body.\r\n\r\nExample unit test available here: https://github.com/OpenFeign/feign/pull/821/files"},"comment":{"url":"https://api.github.com/repos/OpenFeign/feign/issues/comments/432219406","html_url":"https://github.com/OpenFeign/feign/issues/820#issuecomment-432219406","issue_url":"https://api.github.com/repos/OpenFeign/feign/issues/820","id":432219406,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjIxOTQwNg==","user":{"login":"kdavisk6","id":6013627,"node_id":"MDQ6VXNlcjYwMTM2Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/6013627?v=4","gravatar_id":"","url":"https://api.github.com/users/kdavisk6","html_url":"https://github.com/kdavisk6","followers_url":"https://api.github.com/users/kdavisk6/followers","following_url":"https://api.github.com/users/kdavisk6/following{/other_user}","gists_url":"https://api.github.com/users/kdavisk6/gists{/gist_id}","starred_url":"https://api.github.com/users/kdavisk6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdavisk6/subscriptions","organizations_url":"https://api.github.com/users/kdavisk6/orgs","repos_url":"https://api.github.com/users/kdavisk6/repos","events_url":"https://api.github.com/users/kdavisk6/events{/privacy}","received_events_url":"https://api.github.com/users/kdavisk6/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T12:06:46Z","updated_at":"2018-10-23T12:06:46Z","author_association":"COLLABORATOR","body":"The exception is due to the charset being null. Was that just the start of the issue?  Is there something else I may be missing?"}}
{"actor":{"display_login":"kdavisk6"}}