{ "id": "117495", "key": "TIMOB-14633", "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": "15566", "description": "2013 Sprint 15 Tooling", "name": "2013 Sprint 15 Tooling", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-24T05:16:00.000+0000", "created": "2013-07-23T18:16:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.2.0" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-17T21:51:45.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "When running KS with liveview, I get a runtime error saying the backtrace field is undefined.\r\n\r\nSteps to reproduce:\r\n1. Run liveview with KS on Appcelerator studio\r\n2. As soon as you launch the app, you will see a runtime error saying:\r\n\r\n{code}\r\nE/TiExceptionHandler( 2020): (main) [185,4532] ----- Titanium Javascript Runtime Error -----\r\nE/TiExceptionHandler( 2020): (main) [0,4532] - In app.js:646,55\r\nE/TiExceptionHandler( 2020): (main) [0,4532] - Message: Uncaught TypeError: Cannot call method 'replace' of undefined\r\nE/TiExceptionHandler( 2020): (main) [0,4532] - Source: console.error('Backtrace:\\n', err.error.backtrace.replace(/'\\n'/g, '\\n'));\r\n{code}\r\n\r\nEven if there is an uncaught exception, it shouldn't fail when logging it. I'm guessing 'backtrace' isn't a valid field.", "attachment": [], "flagged": false, "summary": "Liveview: Runtime error when loading KS", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Galaxy Nexus 4.1.1\r\nAppcelerator Studio 3.1.1.201307161816\r\n", "comment": { "comments": [ { "id": "262944", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Christian fixed it in https://github.com/appcelerator/liveview/commit/872683d1280a119fbe0dc287ed62572e5116bdbd.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T05:16:00.000+0000", "updated": "2013-07-24T05:16:00.000+0000" }, { "id": "284871", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nAppcelerator Studio, build: 3.2.0.201312162210\nTitanium SDK, build: 3.2.0.v20131216191854\nCLI: 3.2.0-cr3\nAlloy: 1.3.0-cr\nLiveView: 1.0.1\nAndroid Device: Nexus 4 (4.2)\n\nWith LiveView enabled, Kitchen Sink launched successfully.\nApp can be modified and device will update as expected.\nScreen refreshed in a matter of seconds when change is made.\nNo runtime error is displayed during this process.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T21:51:30.000+0000", "updated": "2013-12-17T21:51:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }