{"action":"created","issue":{"url":"https://api.github.com/repos/stephanenicolas/robospice/issues/414","labels_url":"https://api.github.com/repos/stephanenicolas/robospice/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/stephanenicolas/robospice/issues/414/comments","events_url":"https://api.github.com/repos/stephanenicolas/robospice/issues/414/events","html_url":"https://github.com/stephanenicolas/robospice/issues/414","id":65527091,"number":414,"title":"NullPointerException on sendRequestToService","user":{"login":"kenyee","id":586670,"avatar_url":"https://avatars.githubusercontent.com/u/586670?v=3","gravatar_id":"","url":"https://api.github.com/users/kenyee","html_url":"https://github.com/kenyee","followers_url":"https://api.github.com/users/kenyee/followers","following_url":"https://api.github.com/users/kenyee/following{/other_user}","gists_url":"https://api.github.com/users/kenyee/gists{/gist_id}","starred_url":"https://api.github.com/users/kenyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenyee/subscriptions","organizations_url":"https://api.github.com/users/kenyee/orgs","repos_url":"https://api.github.com/users/kenyee/repos","events_url":"https://api.github.com/users/kenyee/events{/privacy}","received_events_url":"https://api.github.com/users/kenyee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-31T19:22:20Z","updated_at":"2015-05-14T20:34:59Z","closed_at":null,"body":"03-31 15:12:22.241  23094-23175/com.mustbin.mustbin E/AndroidRuntime﹕ FATAL EXCEPTION: SpiceManagerThread 0\r\n    Process: com.mustbin.mustbin, PID: 23094\r\n    java.lang.NullPointerException: Attempt to invoke direct method 'void com.octo.android.robospice.SpiceManager.sendRequestToService(com.octo.android.robospice.request.CachedSpiceRequest)' on a null object reference\r\n            at com.octo.android.robospice.SpiceManager.run(SpiceManager.java:263)\r\n            at java.lang.Thread.run(Thread.java:820)\r\n\r\n            while (!requestQueue.isEmpty() || !isStopped && !Thread.interrupted()) {\r\n                try {\r\n                    sendRequestToService(requestQueue.take());\r\n                } catch (final InterruptedException ex) {\r\n                    Ln.d(\"Interrupted while waiting for new request.\");\r\n                    // we receive an interrupted exception while waiting\r\n                    // see java spec : http://stackoverflow.com/a/6699006/693752\r\n                    break;\r\n                }\r\n            }\r\n\r\npossible race condition?  Looks like requestQueue.take() is returning null even though isEmpty is being checked...\r\n"},"comment":{"url":"https://api.github.com/repos/stephanenicolas/robospice/issues/comments/102160830","html_url":"https://github.com/stephanenicolas/robospice/issues/414#issuecomment-102160830","issue_url":"https://api.github.com/repos/stephanenicolas/robospice/issues/414","id":102160830,"user":{"login":"ijunes","id":5193152,"avatar_url":"https://avatars.githubusercontent.com/u/5193152?v=3","gravatar_id":"","url":"https://api.github.com/users/ijunes","html_url":"https://github.com/ijunes","followers_url":"https://api.github.com/users/ijunes/followers","following_url":"https://api.github.com/users/ijunes/following{/other_user}","gists_url":"https://api.github.com/users/ijunes/gists{/gist_id}","starred_url":"https://api.github.com/users/ijunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijunes/subscriptions","organizations_url":"https://api.github.com/users/ijunes/orgs","repos_url":"https://api.github.com/users/ijunes/repos","events_url":"https://api.github.com/users/ijunes/events{/privacy}","received_events_url":"https://api.github.com/users/ijunes/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T20:34:59Z","updated_at":"2015-05-14T20:34:59Z","body":"#86 Seems to be this issue. Did it get merged out?"}}