{ "id": "113662", "key": "TIMOB-13732", "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": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-02T23:11:10.000+0000", "created": "2013-05-01T17:49:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "liveview", "qe-3.1.1", "qe-testadded" ], "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-09-23T09:31:35.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": "h5. Description:\r\nWhen launching a \"appcelerator services enabled\" project in the simulator, the launch will fail with a black screen on device and a error in the console:\r\n{code}\r\n-- Start simulator log -------------------------------------------------------\r\n[DEBUG] : \b\b \bReading stylesheet from: /Users/emerriman/Library/Application Support/iPhone Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/stylesheet.plist\r\n[DEBUG] : \b\b \bAnalytics is enabled = YES\r\n[DEBUG] : \b\b \bLoading: /Users/emerriman/Library/Application Support/iPhone Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/app.js, Resource: app_js\r\n[INFO] : \b\b \b Application started\r\n[INFO] : \b\b \b basicWithCritter/1.0 (3.1.1.v20130430164508.1ea1219)\r\n\u001b[32m [INFO]\u001b[39m client connected\r\n[DEBUG] : \b\b \bAssigning Exception Handling Delegate...\r\n[DEBUG] : \b\b \bDone\r\n[INFO] : \b\b \b [object ComCrittercismTiModule] loaded\r\n[DEBUG] : \b\b \bLoading: /Users/emerriman/Library/Application Support/iPhone Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/com.crittercism.ti.js, Resource: com_crittercism_ti_js\r\n[ERROR] : \b\b \b[LiveView] {\r\n[ERROR] : \b\b \b error = {\r\n[ERROR] : \b\b \b backtrace = \"#0 () at file://localhost/Users/emerriman/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/app.js:5029\\n#1 () at :1\\n#2 () at file://localhost/Users/emerriman/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/app.js:5149\\n#3 () at file://localhost/Users/emerriman/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/app.js:5029\\n#4 () at file://localhost/Users/emerriman/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/C5D9EA98-F3A4-489C-AA3A-05DE351CA0EA/basicWithCritter.app/app.js:5183\";\r\n[ERROR] : \b\b \b line = 1;\r\n[ERROR] : \b\b \b message = \"Parse error\";\r\n[ERROR] : \b\b \b name = SyntaxError;\r\n[ERROR] : \b\b \b sourceId = 312912576;\r\n[ERROR] : \b\b \b };\r\n[ERROR] : \b\b \b module = \"app.js\";\r\n[ERROR] : \b\b \b}\r\n[DEBUG] : \b\b \bApplication booted in 595.690966 ms\r\n[INFO] : \b\b \b [LiveView] Client connected\r\n{code}\r\n\r\nI was told this was caused by the crittercism injected code.\r\n\r\nh5. Steps to reproduce:\r\n1) Create a new project in Appcelerator studio with services enabled\r\n2) Attempt to launch a liveview simulator session\r\n\r\nh5. Result:\r\nFailure with errors in the console and black screen on device\r\n\r\nh5. Expected Result:\r\nSuccessful launch", "attachment": [ { "id": "37983", "filename": "Screenshot_5_1_13_10_48_AM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-01T17:49:24.000+0000", "size": 347116, "mimeType": "image/png" } ], "flagged": false, "summary": "Liveview: Crittercism injected code in project causes liveview launch to fail with parse error and black screen", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.8.3\r\nXcode 4.6\r\nCLI: 3.1.0\r\nAlloy: 1.1.1\r\nAppcelerator Studio, build: 3.1.1.201304302240\r\nTitanium SDK version 3.1.1.v20130430164508", "comment": { "comments": [ { "id": "250022", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FIXED in LiveView v0.1.11 https://github.com/appcelerator/liveview/commit/b114493784ad6a9a09d15048dfbf526b3c65e046", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-02T23:10:36.000+0000", "updated": "2013-05-02T23:10:36.000+0000" }, { "id": "266523", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on Appcelerator Studio, build: 3.1.2.201308091728, OSX 10.8.3. Running an app with all services enabled with LiveView produced no error.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T21:36:22.000+0000", "updated": "2013-08-14T21:36:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }