{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/29","repository_url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet","labels_url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/29/comments","events_url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/29/events","html_url":"https://github.com/paypal/merchant-sdk-dotnet/issues/29","id":172780201,"number":29,"title":"GetExpressCheckoutDetails throws a NullReference Exception","user":{"login":"dzilioti","id":14080796,"avatar_url":"https://avatars.githubusercontent.com/u/14080796?v=3","gravatar_id":"","url":"https://api.github.com/users/dzilioti","html_url":"https://github.com/dzilioti","followers_url":"https://api.github.com/users/dzilioti/followers","following_url":"https://api.github.com/users/dzilioti/following{/other_user}","gists_url":"https://api.github.com/users/dzilioti/gists{/gist_id}","starred_url":"https://api.github.com/users/dzilioti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzilioti/subscriptions","organizations_url":"https://api.github.com/users/dzilioti/orgs","repos_url":"https://api.github.com/users/dzilioti/repos","events_url":"https://api.github.com/users/dzilioti/events{/privacy}","received_events_url":"https://api.github.com/users/dzilioti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T19:03:13Z","updated_at":"2016-08-23T19:35:08Z","closed_at":null,"body":"Since last weekend i'm having troubles with the following error on a `GetExpressCheckoutDetails` call:\r\n\r\n[NullReferenceException: Object reference not set to an instance of an object.]\r\n   PayPal.PayPalAPIInterfaceService.Model.BasicAmountType..ctor(XmlNode xmlNode) +82\r\n   PayPal.PayPalAPIInterfaceService.Model.PaymentInfoType..ctor(XmlNode xmlNode) +1352\r\n   PayPal.PayPalAPIInterfaceService.Model.GetExpressCheckoutDetailsResponseDetailsType..ctor(XmlNode xmlNode) +2126\r\n   PayPal.PayPalAPIInterfaceService.Model.GetExpressCheckoutDetailsResponseType..ctor(XmlNode xmlNode) +92\r\n   PayPal.PayPalAPIInterfaceService.PayPalAPIInterfaceServiceService.GetExpressCheckoutDetails(GetExpressCheckoutDetailsReq getExpressCheckoutDetailsReq, String apiUserName) +383\r\n\r\nEverything was working fine until last weekend and i have no idea why this error starts, anyone can help me?\r\n\r\nHere's a code snippet of the call:\r\nPS: It was done in vb.net\r\n\r\n```\r\n           Dim getECrequest As New GetExpressCheckoutDetailsRequestType(token)\r\n\r\n            Dim wraper As New GetExpressCheckoutDetailsReq\r\n            wraper.GetExpressCheckoutDetailsRequest = getECrequest\r\n\r\n            Dim configurationMap As New Dictionary(Of String, String)\r\n\r\n            If ConfigurationManager.AppSettings(\"env\") = \"HML\" Then\r\n                configurationMap.Add(\"mode\", \"sandbox\")\r\n                configurationMap.Add(\"account1.applicationId\", appID_HML)\r\n            Else\r\n                configurationMap.Add(\"mode\", \"live\")\r\n                configurationMap.Add(\"account1.applicationId\", appID_PRD)\r\n            End If\r\n\r\n            configurationMap.Add(\"account1.apiUsername\", user)\r\n            configurationMap.Add(\"account1.apiPassword\", passw)\r\n            configurationMap.Add(\"account1.apiSignature\", sign)\r\n\r\n            Dim service As New PayPalAPIInterfaceServiceService(configurationMap)\r\n\r\n            Dim ecResponse As GetExpressCheckoutDetailsResponseType =  service.GetExpressCheckoutDetails(wraper)\r\n```"},"comment":{"url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/comments/241850606","html_url":"https://github.com/paypal/merchant-sdk-dotnet/issues/29#issuecomment-241850606","issue_url":"https://api.github.com/repos/paypal/merchant-sdk-dotnet/issues/29","id":241850606,"user":{"login":"pekatete","id":3041243,"avatar_url":"https://avatars.githubusercontent.com/u/3041243?v=3","gravatar_id":"","url":"https://api.github.com/users/pekatete","html_url":"https://github.com/pekatete","followers_url":"https://api.github.com/users/pekatete/followers","following_url":"https://api.github.com/users/pekatete/following{/other_user}","gists_url":"https://api.github.com/users/pekatete/gists{/gist_id}","starred_url":"https://api.github.com/users/pekatete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekatete/subscriptions","organizations_url":"https://api.github.com/users/pekatete/orgs","repos_url":"https://api.github.com/users/pekatete/repos","events_url":"https://api.github.com/users/pekatete/events{/privacy}","received_events_url":"https://api.github.com/users/pekatete/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T19:35:08Z","updated_at":"2016-08-23T19:35:08Z","body":"According to the  stack-trace, your variable **user** is not set, i.e\r\n_[NullReferenceException: Object reference not set to an instance of an object.]_\r\nthen finally\r\n_GetExpressCheckoutDetailsReq getExpressCheckoutDetailsReq, String apiUserName)_\r\n\r\n"}}
{"actor":{"display_login":"pekatete"}}