{"action":"created","issue":{"url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/16","labels_url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/16/comments","events_url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/16/events","html_url":"https://github.com/runemadsen/HTTP-Requests-for-Processing/issues/16","id":111710355,"number":16,"title":"HTTP POST returns null pointer exception","user":{"login":"abanks235","id":7329443,"avatar_url":"https://avatars.githubusercontent.com/u/7329443?v=3","gravatar_id":"","url":"https://api.github.com/users/abanks235","html_url":"https://github.com/abanks235","followers_url":"https://api.github.com/users/abanks235/followers","following_url":"https://api.github.com/users/abanks235/following{/other_user}","gists_url":"https://api.github.com/users/abanks235/gists{/gist_id}","starred_url":"https://api.github.com/users/abanks235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abanks235/subscriptions","organizations_url":"https://api.github.com/users/abanks235/orgs","repos_url":"https://api.github.com/users/abanks235/repos","events_url":"https://api.github.com/users/abanks235/events{/privacy}","received_events_url":"https://api.github.com/users/abanks235/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T21:22:45Z","updated_at":"2016-01-25T08:08:18Z","closed_at":null,"body":"Hi there,\r\n\r\nfor some reason when I run the post example, the response content is null resulting in a Null Pointer Exception. I've tried it on both Processing 2.2.1 and Processing 3.\r\n\r\nHOWEVER, a friend of mine tried it on their computer on Processing 2.2.1 with the same version of Java and it worked. We both have macs. \r\nWhy is it that this library works on some computers and not others? Does it have something to do with my operating system? I have OS X Yosemite 10.10.3\r\n\r\nThis is the code that I am trying to get to work. It's a very basic HTTP Post that works perfectly with the curl command in terminal. This code worked on my friend's computer as well just like the post example:\r\n\r\nimport http.requests.*;\r\n\r\npublic void setup() \r\n{\r\n\tsize(400,400);\r\n\tsmooth();\r\n\tPostRequest post = new PostRequest(\"http://text-processing.com/api/sentiment/\");\r\n\tpost.addData(\"text\", \"good\");\r\n\tpost.send();\r\n\tSystem.out.println(\"Reponse Content: \" + post.getContent());\r\n\tSystem.out.println(\"Reponse Content-Length Header: \" + post.getHeader(\"Content-Length\"));\r\n}"},"comment":{"url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/comments/174432505","html_url":"https://github.com/runemadsen/HTTP-Requests-for-Processing/issues/16#issuecomment-174432505","issue_url":"https://api.github.com/repos/runemadsen/HTTP-Requests-for-Processing/issues/16","id":174432505,"user":{"login":"AndrewStyan","id":6661177,"avatar_url":"https://avatars.githubusercontent.com/u/6661177?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewStyan","html_url":"https://github.com/AndrewStyan","followers_url":"https://api.github.com/users/AndrewStyan/followers","following_url":"https://api.github.com/users/AndrewStyan/following{/other_user}","gists_url":"https://api.github.com/users/AndrewStyan/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewStyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewStyan/subscriptions","organizations_url":"https://api.github.com/users/AndrewStyan/orgs","repos_url":"https://api.github.com/users/AndrewStyan/repos","events_url":"https://api.github.com/users/AndrewStyan/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewStyan/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T08:08:18Z","updated_at":"2016-01-25T08:08:18Z","body":"@acdean I'm fairly ignorant about how github works. How do I implement this fix in my pde code? the changes in #17 appear in my downloaded library src code but I still get the same error as @abanks235 talks about. How does the fix of #17 get \"applied\" ?\r\n\r\nThanks, Andrew"}}