{"action":"closed","issue":{"url":"https://api.github.com/repos/ZeroPush/ZeroPush-java/issues/3","labels_url":"https://api.github.com/repos/ZeroPush/ZeroPush-java/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ZeroPush/ZeroPush-java/issues/3/comments","events_url":"https://api.github.com/repos/ZeroPush/ZeroPush-java/issues/3/events","html_url":"https://github.com/ZeroPush/ZeroPush-java/issues/3","id":88694603,"number":3,"title":"Zero registration fails in HttpClient","user":{"login":"anti43","id":2292100,"avatar_url":"https://avatars.githubusercontent.com/u/2292100?v=3","gravatar_id":"","url":"https://api.github.com/users/anti43","html_url":"https://github.com/anti43","followers_url":"https://api.github.com/users/anti43/followers","following_url":"https://api.github.com/users/anti43/following{/other_user}","gists_url":"https://api.github.com/users/anti43/gists{/gist_id}","starred_url":"https://api.github.com/users/anti43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti43/subscriptions","organizations_url":"https://api.github.com/users/anti43/orgs","repos_url":"https://api.github.com/users/anti43/repos","events_url":"https://api.github.com/users/anti43/events{/privacy}","received_events_url":"https://api.github.com/users/anti43/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T11:05:31Z","updated_at":"2015-06-16T11:30:53Z","closed_at":"2015-06-16T11:30:53Z","body":"Code:\r\n\r\n```java\r\nZeroPush.registration().register(token).execute();\r\n```\r\n\r\nException:\r\n\r\n```java\r\n06-16 11:49:22.050 E/ZeroPush﹕ Item may not be null\r\njava.lang.IllegalArgumentException: Item may not be null\r\nat org.apache.http.util.Args.notNull(Args.java:48)\r\nat org.apache.http.config.RegistryBuilder.register(RegistryBuilder.java:58)\r\nat org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:727)\r\nat com.zeropush.request.ZeroPushRequestExecutor.getHttpClient(ZeroPushRequestExecutor.java:69)\r\nat com.zeropush.request.ZeroPushRequestExecutor.execute(ZeroPushRequestExecutor.java:47)\r\nat com.zeropush.register.Register.execute(Register.java:92)\r\nat lu.eevol.commons.ZeroPushBroadcastReceiver$1.doInBackground(ZeroPushBroadcastReceiver.java:78)\r\nat lu.eevol.commons.ZeroPushBroadcastReceiver$1.doInBackground(ZeroPushBroadcastReceiver.java:66)\r\nat lu.eevol.commons.AsyncTask$2.call(AsyncTask.java:314)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\nat lu.eevol.commons.AsyncTask$SerialExecutor$1.run(AsyncTask.java:257)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\nat java.lang.Thread.run(Thread.java:864)\r\n```\r\n\r\nmy hhtp client in the project is\r\n\r\n```\r\ncompile 'org.apache.httpcomponents:httpclient-android:4.3.5'\r\n``` "}}