{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/288","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/288/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/288/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-Android/issues/288","id":121680893,"number":288,"title":"LoginInBackground: Attempt to invoke virtual method 'com.parse.ParseHttpClient com.parse.ParsePlugins.restClient()' on a null object ","user":{"login":"thomasbeerten","id":7985846,"avatar_url":"https://avatars.githubusercontent.com/u/7985846?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasbeerten","html_url":"https://github.com/thomasbeerten","followers_url":"https://api.github.com/users/thomasbeerten/followers","following_url":"https://api.github.com/users/thomasbeerten/following{/other_user}","gists_url":"https://api.github.com/users/thomasbeerten/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasbeerten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasbeerten/subscriptions","organizations_url":"https://api.github.com/users/thomasbeerten/orgs","repos_url":"https://api.github.com/users/thomasbeerten/repos","events_url":"https://api.github.com/users/thomasbeerten/events{/privacy}","received_events_url":"https://api.github.com/users/thomasbeerten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/labels/needs%20more%20info","name":"needs more info","color":"ffd182"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-11T10:27:02Z","updated_at":"2015-12-15T21:59:55Z","closed_at":"2015-12-15T21:59:55Z","body":"When doing logInInBackground, I get this error:\r\n\r\nProcess: com.thomascbeerten.cloudscreenwriter, PID: 10189\r\n                                                                                      java.lang.NullPointerException: Attempt to invoke virtual method 'com.parse.ParseHttpClient com.parse.ParsePlugins.restClient()' on a null object reference\r\n\r\nIn my MyApplication (and I have set it in my Manifest):\r\n\r\n        ParseObject.registerSubclass(MyClass.class);\r\n        Parse.enableLocalDatastore(this);\r\n        Parse.initialize(this, \"key\", \"key\");\r\n\r\nMoreover: it doesn't always happen..\r\n\r\nA related stackoverflow thread:\r\nhttp://stackoverflow.com/questions/33043336/parse-throwing-nullpointerexception-for-logininbackground"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/comments/164910937","html_url":"https://github.com/ParsePlatform/Parse-SDK-Android/issues/288#issuecomment-164910937","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/288","id":164910937,"user":{"login":"grantland","id":277030,"avatar_url":"https://avatars.githubusercontent.com/u/277030?v=3","gravatar_id":"","url":"https://api.github.com/users/grantland","html_url":"https://github.com/grantland","followers_url":"https://api.github.com/users/grantland/followers","following_url":"https://api.github.com/users/grantland/following{/other_user}","gists_url":"https://api.github.com/users/grantland/gists{/gist_id}","starred_url":"https://api.github.com/users/grantland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantland/subscriptions","organizations_url":"https://api.github.com/users/grantland/orgs","repos_url":"https://api.github.com/users/grantland/repos","events_url":"https://api.github.com/users/grantland/events{/privacy}","received_events_url":"https://api.github.com/users/grantland/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T21:59:55Z","updated_at":"2015-12-15T21:59:55Z","body":"Awesome to hear that your problem has been resolved! I'll be closing this issue."}}