{ "id": "115914", "key": "TIMOB-14226", "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-23T21:25:30.000+0000", "created": "2013-06-13T22:36:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "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": [ { "id": "29992", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "116045", "key": "TIMOB-14260", "fields": { "summary": "LiveView: Android throws 'File Server unavailable. Host Unreachable' error ", "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": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-24T23:53:40.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\n\r\nLiveView is throwing an exception when building/running for the first time and LiveView server is not running.\r\nSubsequently building/running the project it works as expected\r\n\r\nh5. Steps to reproduce \r\n\r\n1. Create a new project \r\n2. Enable LiveView and run on Android Emulator\r\nResult: exceptions are thrown, LiveView server is not running and build fails - see attached log and screenshot\r\n\r\n3. Build/Run again\r\nResult: application is now correctly built and LiveView is working", "attachment": [ { "id": "39830", "filename": "liveView.log", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T22:36:53.000+0000", "size": 41761, "mimeType": "text/plain" }, { "id": "39829", "filename": "Screen Shot 2013-06-13 at 3.35.33 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T22:36:53.000+0000", "size": 311252, "mimeType": "image/png" } ], "flagged": false, "summary": "LiveView: building/running fails when LiveView server is not running - subsequently build/run works as expected", "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": "Titanium SDK .1.1.v20130613121914\r\nAppcelerator Studio 3.1.1.201306121633\r\nCode Processor 1.0.1-cr4\r\nAlloy 1.1.3-cr\r\nNode 0.8.22\r\nLiveView Feature 1.0.0.201306121409\r\n\r\nTested with Android Emulator 2.3.3", "comment": { "comments": [ { "id": "262174", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm re-opening the issue for more investigation since I still saw it with LiveView 0.1.28 on a sample app.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T17:10:16.000+0000", "updated": "2013-07-17T17:10:16.000+0000" }, { "id": "262703", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirming bug behavior. I was able to reproduce it with this environment.\r\n\r\nTitanium SDK 3.1.2.v20130718094558\r\nAppcelerator Studio 3.1.2.201307191853\r\nAlloy 1.2.0\r\nLiveView 0.1.28 (from Beta stream)", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-22T19:29:28.000+0000", "updated": "2013-07-22T20:46:34.000+0000" }, { "id": "262707", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also, currently not able to run LiveView on Android device.\nAlways displaying the exception also after rebuilding. ", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-22T19:50:59.000+0000", "updated": "2013-07-22T19:50:59.000+0000" }, { "id": "262900", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved in [master] https://github.com/appcelerator/liveview/commit/512e8e39f0cd5428be9248f96b074a9000318a9e", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T21:23:43.000+0000", "updated": "2013-07-23T21:23:43.000+0000" }, { "id": "262901", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue was when the device model is \"sdk\" the proxy ip 10.0.2.2 is used to connect to the server 127.0.0.1. The problem was for some android emulators the device model outputs as google_sdk", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T21:25:15.000+0000", "updated": "2013-07-23T21:25:15.000+0000" }, { "id": "284708", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Closing as fixed since LiveView server runs as expected with :\r\nOSX: 10.8.5\r\nXcode: 5.0\r\nAppcelerator Studio:3.2.0.201312151544\r\nSDK:3.2.0.v20131216191854\r\nalloy: 1.3.0-cr2\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nDevice: Nexus 7 (v4.3)", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-17T06:47:24.000+0000", "updated": "2013-12-17T06:47:24.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }