{ "id": "116991", "key": "AC-2594", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-07-26T23:13:06.000+0000", "created": "2013-07-09T13:46:34.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:40.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": "I am getting this cryptic error, somewhere in use of the HTTPClient. It only shows on Android, but I can't debug it. Can anyone shed any light on this error, as the network call actually works.\r\n\r\n{code}E/TiExceptionHandler(20724): (main) [55786,86040] ----- Titanium Javascript Runtime Error -----\r\nE/TiExceptionHandler(20724): (main) [0,86040] - In ti:/url.js:85,11\r\nE/TiExceptionHandler(20724): (main) [0,86040] - Message: Uncaught ReferenceError: parseHost is not defined\r\nE/TiExceptionHandler(20724): (main) [0,86040] - Source: \t\tvar p = parseHost(out.host);{code}", "attachment": [], "flagged": false, "summary": "Android: HTTPClient XHR throws Uncaught ReferenceError: parseHost is not defined", "creator": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "environment": "Mac 10.8.3 - 3.1.1 SDK Android Device (HTC One-x)", "comment": { "comments": [ { "id": "261548", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please can you provide a simple reproducible test case that we can drop into an app.js and run?\n\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-12T00:03:11.000+0000", "updated": "2013-07-12T00:03:11.000+0000" }, { "id": "263560", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Part of my job was to refactor the apps codebase into Alloy - at some point between posting this and waiting for some time to produce a test case /app - the error is no longer firing.\n\nI will see if I can find out when this occurred.\n\nThanks,\nKet", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2013-07-27T09:38:50.000+0000", "updated": "2013-07-27T09:38:50.000+0000" }, { "id": "263903", "author": { "name": "ads", "key": "ads", "displayName": "Armindo Da Silva", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have the same problem also on Android. and finally found the problem, I have added my \"own\" url property to the window.\nhope this help.", "updateAuthor": { "name": "ads", "key": "ads", "displayName": "Armindo Da Silva", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-30T09:49:40.000+0000", "updated": "2013-07-30T09:49:40.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }