{"action":"opened","issue":{"url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/198","labels_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/198/comments","events_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/198/events","html_url":"https://github.com/paypal/PayPal-Android-SDK/issues/198","id":108536256,"number":198,"title":"Internal Server Error for single payment on PayPalService start","user":{"login":"abrgitlab","id":5095149,"avatar_url":"https://avatars.githubusercontent.com/u/5095149?v=3","gravatar_id":"","url":"https://api.github.com/users/abrgitlab","html_url":"https://github.com/abrgitlab","followers_url":"https://api.github.com/users/abrgitlab/followers","following_url":"https://api.github.com/users/abrgitlab/following{/other_user}","gists_url":"https://api.github.com/users/abrgitlab/gists{/gist_id}","starred_url":"https://api.github.com/users/abrgitlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrgitlab/subscriptions","organizations_url":"https://api.github.com/users/abrgitlab/orgs","repos_url":"https://api.github.com/users/abrgitlab/repos","events_url":"https://api.github.com/users/abrgitlab/events{/privacy}","received_events_url":"https://api.github.com/users/abrgitlab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-27T13:46:06Z","updated_at":"2015-09-27T13:46:06Z","closed_at":null,"body":"I try to implement single payment. I do all written in https://github.com/paypal/PayPal-Android-SDK/blob/master/docs/single_payment.md\r\n\r\nBut I've got error \"Internal Server Error\" when PayPalService starts. Also this error occures when I try to make a payment. It occures at PaymentActivity starting.\r\n\r\n09-27 16:39:15.277  21907-21947/travel.line.hotels E/paypal.sdk﹕ request failure with http statusCode:500,exception:org.apache.http.client.HttpResponseException: Internal Server Error\r\n09-27 16:39:15.277  21907-21947/travel.line.hotels E/paypal.sdk﹕ Exception parsing server response\r\n    org.json.JSONException: could not parse:java.lang.NullPointerException\tat com.paypal.identity.authnauth.api.policyengine.impl.ScopesPolicyEngine.evaluatePolicies(ScopesPolicyEngine.java:186)\tat com.paypal.identity.authnauth.api.policyengi\r\n    nextValue:java.lang.NullPointerException\r\n            at com.paypal.android.sdk.br.n(Unknown Source)\r\n            at com.paypal.android.sdk.cv.d(Unknown Source)\r\n            at com.paypal.android.sdk.bc.a(Unknown Source)\r\n            at com.paypal.android.sdk.bh.a(Unknown Source)\r\n            at com.paypal.android.sdk.bl.a(Unknown Source)\r\n            at com.paypal.android.sdk.aS.a(Unknown Source)\r\n            at com.paypal.android.sdk.aS.b(Unknown Source)\r\n            at com.paypal.android.sdk.aS.b(Unknown Source)\r\n            at com.paypal.android.sdk.aS.a(Unknown Source)\r\n            at com.paypal.android.sdk.aR.a(Unknown Source)\r\n            at com.paypal.android.sdk.aR.run(Unknown Source)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)\r\n            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:137)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n09-27 16:39:15.277  21907-21947/travel.line.hotels E/paypal.sdk﹕ request failed with server response:java.lang.NullPointerException\tat com.paypal.identity.authnauth.api.policyengine.impl.ScopesPolicyEngine.evaluatePolicies(ScopesPolicyEngine.java:186)\tat com.paypal.identity.authnauth.api.policyengi\r\n09-27 16:39:15.277  21907-21907/travel.line.hotels E/paypal.sdk﹕ INTERNAL_SERVER_ERROR\r\n"}}