{ "id": "111710", "key": "TIMOB-13219", "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": "15112", "description": "2013 Sprint 07 BB", "name": "2013 Sprint 07 BB", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-27T21:56:56.000+0000", "created": "2013-03-26T16:31:36.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "29889", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "116424", "key": "TIMOB-14365", "fields": { "summary": "BlackBerry: We do not see any logs if the app crashes when launched on simulator", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27396", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "108477", "key": "TIMOB-12404", "fields": { "summary": "BlackBerry : Ti.API.info logs don't show up on studio console.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-12T23:45:08.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Basic exceptions in Blackberry Titanium apps are causing the app the crash and fail with no error output whatsoever, making debugging and troubleshooting next to impossible. For example, take this code which represents a common mistake in Titanium development:\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.Window({\r\n\tbackgroundColor: '#eee'\r\n});\r\nwin.open();\r\n{code}\r\n\r\nTi.UI.Window() should be Ti.UI.createWindow(). Instead of throwing a red screen of death notifying me that there was a runtime exception at a specific file and line, or notifying me in the TiStudio console, I get nothing in both places leaving me with zero information to act on. If I run the exact same code on iOS, I get the following log in TiStudio and I also get the attached image in the simulator itself, making it very clear where I went wrong.\r\n\r\n{code}\r\n[ERROR] : \b\b \bScript Error {\r\n[ERROR] : \b\b \b backtrace = \"#0 () at :0\";\r\n[ERROR] : \b\b \b line = 2;\r\n[ERROR] : \b\b \b message = \"'undefined' is not a function (evaluating 'Ti.UI.Window({\\n\\tbackgroundColor: '#eee'\\n})')\";\r\n[ERROR] : \b\b \b name = TypeError;\r\n[ERROR] : \b\b \b sourceId = 292190816;\r\n[ERROR] : \b\b \b sourceURL = \"file://localhost/Users/tlukasavage/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/25D2F0D4-B225-4E19-A830-4EE6DB0093A0/aaaa.app/app.js\";\r\n[ERROR] : \b\b \b}\r\n{code}\r\n\r\nIMHO this is a *very* important issue that needs to be resolved otherwise developer iterations will be painfully slow and generally ineffective.", "attachment": [ { "id": "36647", "filename": "Screen Shot 2013-03-26 at 12.32.48 PM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T16:31:36.000+0000", "size": 55080, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: Exceptions cause app failure with no error output or log", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.0.v20130320125153\r\nBB sim C", "comment": { "comments": [ { "id": "246070", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The logs being viewable should be fixed in Studio (TIMOB-12404). We still have no error dialog, but we can\ntrack that feature with this ticket.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T21:34:02.000+0000", "updated": "2013-04-05T21:34:02.000+0000" }, { "id": "258454", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening as we still dont have any error dialog on device or simulator(like the one shown in the screenshot) for BlackBerry.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T20:38:06.000+0000", "updated": "2013-06-18T20:38:06.000+0000" }, { "id": "259907", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of 14365", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-27T21:56:56.000+0000", "updated": "2013-06-27T21:56:56.000+0000" }, { "id": "266120", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T23:45:08.000+0000", "updated": "2013-08-12T23:45:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }