{ "id": "131926", "key": "TIMOB-17181", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-26T21:31:40.000+0000", "created": "2014-06-18T20:52:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_liveview", "qe-3.3.0", "qe-testadded", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-03T10:14:51.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. Problem description\r\nBuild fails to install and launch when building on any other device/simulator other than the first one.\r\n\r\nThe issue seems to be relative to LiveView version 1.0.4\r\nUsing LiveView 1.0.3 and everything else 3.3.0, this issue is not reproducible - in this case the app is built and run correctly on the new device/simulator and LiveView is only working and updating modifications in the latest device/simulator used (so, is supporting only one device at a time).\r\nMarking as regression.\r\n\r\nh5. Steps to reproduce\r\n1. Create a new default app from Studio (classic or Alloy)\r\n2. Enable LiveView and build/run on iOS simulator\r\nResult: app build and runs correctly. LiveView is working as expected (so every change made to the code is correctly updated on the running application)\r\n3. Keep LiveView enabled and build/run on a different device or OS (for example, build for Android device)\r\nResult: App fails to install and run. The following error logs are displayed:\r\n{code}\r\n[ERROR] : [LiveView] Disconnected from Event Server\r\n\t\t\t[INFO] : [LiveView] Attempting reconnect to Event Server\r\n\t\t\t[ERROR] : Script Error {\r\n\t\t\t[ERROR] : backtrace = \"#0 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:140\\n#1 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:243\";\r\n\t\t\t[ERROR] : line = 465;\r\n\t\t\t[ERROR] : message = \"[LiveView] Event Server unavailable. Connection Refused @ 172.16.2.131:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n\t\t\t[ERROR] : sourceId = 367040832;\r\n\t\t\t[ERROR] : sourceURL = \"file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js\";\r\n\t\t\t[ERROR] : }\r\n\t\t\t[INFO] : [LiveView] Attempting reconnect to Event Server\r\n\t\t\t[ERROR] : Script Error {\r\n\t\t\t[ERROR] : backtrace = \"#0 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:140\\n#1 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:243\";\r\n\t\t\t[ERROR] : line = 465;\r\n\t\t\t[ERROR] : message = \"[LiveView] Event Server unavailable. Connection Refused @ 172.16.2.131:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n\t\t\t[ERROR] : sourceId = 367040832;\r\n\t\t\t[ERROR] : sourceURL = \"file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js\";\r\n\t\t\t[ERROR] : }\r\n\t\t\t[ERROR] : 2014-06-18 11:24:03.760 liveviewTest[51058:70b] Warning: Attempt to present on whose view is not in the window hierarchy!\r\n\t\t\t[INFO] : [LiveView] Attempting reconnect to Event Server\r\n\t\t\t[ERROR] : Script Error {\r\n\t\t\t[ERROR] : backtrace = \"#0 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:140\\n#1 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:243\";\r\n\t\t\t[ERROR] : line = 465;\r\n\t\t\t[ERROR] : message = \"[LiveView] Event Server unavailable. Connection Refused @ 172.16.2.131:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n\t\t\t[ERROR] : sourceId = 367040832;\r\n\t\t\t[ERROR] : sourceURL = \"file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js\";\r\n\t\t\t[ERROR] : }\r\n\t\t\t[ERROR] : 2014-06-18 11:24:05.757 liveviewTest[51058:70b] Warning: Attempt to present on whose view is not in the window hierarchy!\r\n\t\t\t[INFO] : [LiveView] Attempting reconnect to Event Server\r\n\t\t\t[ERROR] : Script Error {\r\n\t\t\t[ERROR] : backtrace = \"#0 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:140\\n#1 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:243\";\r\n\t\t\t[ERROR] : line = 465;\r\n\t\t\t[ERROR] : message = \"[LiveView] Event Server unavailable. Connection Refused @ 172.16.2.131:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n\t\t\t[ERROR] : sourceId = 367040832;\r\n\t\t\t[ERROR] : sourceURL = \"file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js\";\r\n\t\t\t[ERROR] : }\r\n\t\t\t[ERROR] : 2014-06-18 11:24:07.756 liveviewTest[51058:70b] Warning: Attempt to present on whose view is not in the window hierarchy!\r\n\t\t\t[INFO] : [LiveView] Attempting reconnect to Event Server\r\n\t\t\t[ERROR] : Script Error {\r\n\t\t\t[ERROR] : backtrace = \"#0 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:140\\n#1 () at file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js:243\";\r\n\t\t\t[ERROR] : line = 465;\r\n\t\t\t[ERROR] : message = \"[LiveView] Event Server unavailable. Connection Refused @ 172.16.2.131:8324\\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\";\r\n\t\t\t[ERROR] : sourceId = 367040832;\r\n\t\t\t[ERROR] : sourceURL = \"file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/075B92B0-3FF9-49EB-8C78-4C68691D33FD/liveviewTest.app/app.js\";\r\n\t\t\t[ERROR] : }\r\n\t\t\t[ERROR] : 2014-06-18 11:24:09.756 liveviewTest[51058:70b] Warning: Attempt to present on whose view is not in the window hierarchy!\r\n{code}\r\n\r\nAlso, on iOS simulator, an Application Error is now displayed. See screenshot. ", "attachment": [ { "id": "49074", "filename": "Screen Shot 2014-06-18 at 11.27.55 AM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T20:52:29.000+0000", "size": 117815, "mimeType": "image/png" } ], "flagged": false, "summary": "LiveView: build fails when installing on a different device/simulator", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDk 3.3.0.v20140617161713 \r\nAppcelerator Studio 3.3.0.201406171619 \r\nLiveView 1.0.4\r\nCLI 3.3.0-rc\r\nAlloy 1.4.0-rc", "closedSprints": [ { "id": 135, "state": "closed", "name": "2014 Sprint 13 Tooling", "startDate": "2014-06-23T23:44:04.894Z", "endDate": "2014-07-04T00:00:00.000Z", "completeDate": "2014-07-07T16:26:26.229Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "309714", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm assuming this must be a regression caused by the fix for TIMOB-16740.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T21:26:50.000+0000", "updated": "2014-06-18T21:26:50.000+0000" }, { "id": "309733", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Not sure. But this has to be addressed for 3.3.0 release.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T22:26:25.000+0000", "updated": "2014-06-18T22:26:25.000+0000" }, { "id": "311007", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/liveview/pull/80", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-26T00:54:33.000+0000", "updated": "2014-06-26T00:54:33.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }