{"action":"created","issue":{"url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/748","labels_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/748/comments","events_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/748/events","html_url":"https://github.com/Jessecar96/SteamBot/issues/748","id":65562945,"number":748,"title":"Getting System.NullReferenceException when using GetOffer()","user":{"login":"rangersmash","id":5190840,"avatar_url":"https://avatars.githubusercontent.com/u/5190840?v=3","gravatar_id":"","url":"https://api.github.com/users/rangersmash","html_url":"https://github.com/rangersmash","followers_url":"https://api.github.com/users/rangersmash/followers","following_url":"https://api.github.com/users/rangersmash/following{/other_user}","gists_url":"https://api.github.com/users/rangersmash/gists{/gist_id}","starred_url":"https://api.github.com/users/rangersmash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangersmash/subscriptions","organizations_url":"https://api.github.com/users/rangersmash/orgs","repos_url":"https://api.github.com/users/rangersmash/repos","events_url":"https://api.github.com/users/rangersmash/events{/privacy}","received_events_url":"https://api.github.com/users/rangersmash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-03-31T22:42:43Z","updated_at":"2015-04-05T13:11:21Z","closed_at":"2015-04-03T18:51:34Z","body":"Hi.\r\nI'm using TradeOfferManager.GetOffer() in a loop (code can be found here: http://pastebin.com/R8kesBkq) to check the status of an offer. However, whenever I use GetOffer with a valid offer ID from an offer that was sent 5 seconds ago, I seem to get a System.NullReferenceError when using get offer.\r\nA picture of this error can be found here: http://i.imgur.com/qAdrU8w.png\r\n\r\nAnother thing I noticed is that TradeOfferManager is private in the bot and I had to change this variable to public so I could access these methods. I don't know if there is a better way to access these methods but this may have something to do with it."},"comment":{"url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/comments/89769575","html_url":"https://github.com/Jessecar96/SteamBot/issues/748#issuecomment-89769575","issue_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/748","id":89769575,"user":{"login":"bartico6","id":3310937,"avatar_url":"https://avatars.githubusercontent.com/u/3310937?v=3","gravatar_id":"","url":"https://api.github.com/users/bartico6","html_url":"https://github.com/bartico6","followers_url":"https://api.github.com/users/bartico6/followers","following_url":"https://api.github.com/users/bartico6/following{/other_user}","gists_url":"https://api.github.com/users/bartico6/gists{/gist_id}","starred_url":"https://api.github.com/users/bartico6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartico6/subscriptions","organizations_url":"https://api.github.com/users/bartico6/orgs","repos_url":"https://api.github.com/users/bartico6/repos","events_url":"https://api.github.com/users/bartico6/events{/privacy}","received_events_url":"https://api.github.com/users/bartico6/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T13:11:20Z","updated_at":"2015-04-05T13:11:20Z","body":"^ THIS IS A FAIL I MADE A LONG TIME AGO, CRINGING WHEN I FOUND OUT WHY HALF OF THE BOT DIDNT WORK.\r\nAlways check your APIKeys guys ;_____;"}}