{ "id": "77947", "key": "TIMOB-5187", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2011-11-16T16:18:00.000+0000", "created": "2011-07-19T04:27:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:32.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "This ticket is in response to http://developer.appcelerator.com/question/121717/titanium-mobile-17-not-dying-on-errors-correctly\r\n\r\nNot all exceptions properly show up in the UI and logs with 1.7.1:\r\n\r\nThe exception in the onload function does not show up:\r\n\r\n{code}\r\nclient = Ti.Network.createHTTPClient();\r\nclient.timeout = 15000;\r\n\r\nclient.onload = function() {\r\n Ti.API.debug(client.status);\r\n try {\r\n Ti.API.ddddd2(); \r\n }\r\n catch(e) {\r\n Ti.API.info(\"This exception won't show up in the logs: \" + e);\r\n throw e;\r\n }\r\n};\r\n\r\nclient.open('GET', \"http://www.appcelerator.com\", true);\r\nclient.send();\r\n\r\ntry {\r\n Ti.API.ddddd2(); \r\n}\r\ncatch(e) {\r\n Ti.API.info(\"This exception will show up in the logs: \" + e);\r\n throw e;\r\n}\r\n{code}\r\n\r\nI'd say the sample code says it all. Maybe there is something going on related to threads (maybe callbacks run in a different thread or something like that)?\r\n\r\n", "attachment": [], "flagged": false, "summary": "Titanium Mobile 1.7 not dying on errors correctly", "creator": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "[INFO] Titanium SDK version: 1.7.1\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 4.3\r\n[INFO] iPhone simulated device: ipad\r\n\r\n(1.7.1.1293a6d)\r\n\r\nDEBUG] Xcode 3.2.6\r\n[DEBUG] Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0\r\n[DEBUG] BuildVersion: 10M2518\r\n[INFO] Found 4.3.2 patch installed\r\n\r\nOSX 10.6.8", "comment": { "comments": [ { "id": "160478", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Christian\r\n\r\nIf you complete the environment section and edit the body to use a wiki markup code block, we can accept this ticket. Please refer to the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] to find out what information is required for future tickets.\r\n\r\nMany thanks\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-25T09:25:58.000+0000", "updated": "2011-07-25T09:25:58.000+0000" }, { "id": "160575", "author": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "added some info. BTW, why is http://developer.appcelerator.com/question/121717/titanium-mobile-17-not-dying-on-errors-correctly locked?", "updateAuthor": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-26T04:53:46.000+0000", "updated": "2011-07-26T04:53:46.000+0000" }, { "id": "164722", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Well-described issue, Christian, thank you! :)", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-31T19:04:27.000+0000", "updated": "2011-08-31T19:04:27.000+0000" }, { "id": "170443", "author": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on this one?", "updateAuthor": { "name": "csmuc", "key": "csmuc", "displayName": "Christian Seiler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T03:14:47.000+0000", "updated": "2011-10-26T03:14:47.000+0000" }, { "id": "173015", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Validated as working with 1.8.0.1.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-16T16:17:46.000+0000", "updated": "2011-11-16T16:17:46.000+0000" }, { "id": "182584", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T10:27:37.000+0000", "updated": "2012-02-09T10:27:37.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }