{ "id": "130074", "key": "AC-739", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-05-06T18:17:32.000+0000", "created": "2014-05-06T15:46:49.000+0000", "labels": [ "android", "httpclient" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "So i am making a Titanium app for android. i want to get reponse text from the http request, but while debugging, my httpClient variable's value is error(s)_during_the_evaluation and it just breaks. I know the url is ok cause i ran it in Postman (rest client) and gives back True. this is my code {code:javascript}\r\nvar url = \"http://192.168.101.122:89/miserda/matija/1234\"; \r\n var httpCLient = Ti.Network.createHTTPClient({\r\n timeout : 5000, \r\nonerror : function (e) { \r\nTi.API.error (\"ERROR \" + e.error); }, \r\nonload: function() { \r\nvar text = this.responseText; \r\nvar lab = Ti.UI.createLabel(); \r\n lab.text=text; \r\nTi.UI.currentWindow.add(lab); } });\r\n httpCLient.open(\"GET\", url);\r\n httpCLient.send();\r\n{code}", "attachment": [], "flagged": false, "summary": "Error(s)_during_evalutaion", "creator": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Working on Windows 7 64bit, Titanium Studio, build: 3.2.1.201402041146", "comment": { "comments": [ { "id": "303661", "author": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Figured out the problem, my computer was in lack of RAM ", "updateAuthor": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T16:28:34.000+0000", "updated": "2014-05-06T16:28:34.000+0000" }, { "id": "303663", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Great. Glad to know that things are working for you now. \r\n\r\nDo you want us to resolve the issue then?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T16:44:28.000+0000", "updated": "2014-05-06T16:44:28.000+0000" }, { "id": "303680", "author": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yep, how do i do that?", "updateAuthor": { "name": "sparrrkli", "key": "sparrrkli", "displayName": "Ivana Miserda", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T18:15:24.000+0000", "updated": "2014-05-06T18:15:24.000+0000" }, { "id": "303684", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sparrrkli] Thanks! We can close the ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T18:17:16.000+0000", "updated": "2014-05-06T18:17:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }