{ "id": "172538", "key": "TIMOB-26510", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-11-07T23:04:35.000+0000", "created": "2018-11-01T15:07:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-07T23:10:15.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen launching ks-v2 I'm seeing {{\"Runtime Exception: Layout cycle detected.\" }} when the app launches. Tracking the issue down it appears to be coming from the {{$.log.setText}} call [here|https://github.com/appcelerator/kitchensink-v2/blob/27e44b5635f6ca2abf83f9e76cc9f0044a56795f/app/controllers/console/index.js#L11].\r\n\r\n* Commenting out the setText call allows the app to open fine (/)\r\n* Placing the {{setText}} call in a setTimeout fixes the issue (/)\r\n* Replacing {{logger.history}} with 'astring' does not fix the issue (x)\r\n\r\nMy best guess right now is that there's some issue around updating the label text while we're laying out the UI? \r\n\r\nh5.Steps to reproduce\r\n\r\n1. Run kitchensink-v2\r\n\r\nh5.Actual\r\n\r\nApp will error out on launch\r\n\r\nh5.Expected\r\n\r\nApp should not error out on launch", "attachment": [], "flagged": false, "summary": "Windows: \"Runtime Exception: Layout cycle detected.\" when launching kitchensink-v2", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "SDK 7.5.0.v20181030085443\r\nAppc CLI: 7.0.7\r\nWindows 10", "closedSprints": [ { "id": 1093, "state": "closed", "name": "2018 Sprint 23", "startDate": "2018-11-04T23:35:52.006Z", "endDate": "2018-11-18T23:35:00.000Z", "completeDate": "2018-11-19T05:30:34.338Z", "originBoardId": 114 }, { "id": 1088, "state": "closed", "name": "2018 Sprint 22", "startDate": "2018-10-21T23:20:52.653Z", "endDate": "2018-11-04T23:20:00.000Z", "completeDate": "2018-11-04T23:29:59.423Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443194", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~jlongton] and [~smohammed] can't repro this on their machines", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-11-01T15:32:02.000+0000", "updated": "2018-11-01T15:32:02.000+0000" }, { "id": "443217", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris]\r\nI was not able to reproduce this but it sounds like something around latest changes on Label.\r\n\r\nCould you try built-artifact from https://github.com/appcelerator/titanium_mobile_windows/pull/1303 ? \r\nThis reverts the latest changes on Label in [PR1295|https://github.com/appcelerator/titanium_mobile_windows/pull/1295] to see if it causes the issue.\r\n\r\nAlso, could you try following? I have added a guard hoping to make the layout less often without reverting [PR1295|https://github.com/appcelerator/titanium_mobile_windows/pull/1295]\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1304", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-02T01:34:21.000+0000", "updated": "2018-11-02T01:34:21.000+0000" }, { "id": "443221", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have pushed different attempt to avoid layout cycle. Could you try following too? [~eharris]\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1305\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-02T03:25:17.000+0000", "updated": "2018-11-02T03:25:17.000+0000" }, { "id": "443223", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "After several tries I was able to reproduce ths and confirmed it is caused by latest Label changes. Unfortunately none of my guard works for it. I'm looking into it.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-02T05:36:32.000+0000", "updated": "2018-11-02T05:36:32.000+0000" }, { "id": "443232", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] https://github.com/appcelerator/titanium_mobile_windows/pull/1306 works for me. Would you try it?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-02T11:04:20.000+0000", "updated": "2018-11-02T11:04:20.000+0000" }, { "id": "443234", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1306", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-02T11:48:33.000+0000", "updated": "2018-11-02T11:48:33.000+0000" }, { "id": "443269", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1309", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T02:28:50.000+0000", "updated": "2018-11-05T02:28:50.000+0000" }, { "id": "443338", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] [~rmitro] Would you try {{7.5.0.v20181106111330}}? For me it runs kitchensink without crash or freeze.\r\n\r\n{code}\r\nappc ti sdk install --branch 7_5_X 7.5.0.v20181106111330\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T00:54:11.000+0000", "updated": "2018-11-07T00:54:11.000+0000" }, { "id": "443359", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kiguchi] I ran kitchensink a few times and did not see the error.\r\n\r\n[~rmitro], you're probably running into TISTUD-8994, where Studio cant parse the ES6 code in ks-v2. I'm not sure on the SDK issue however", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-11-07T10:10:44.000+0000", "updated": "2018-11-07T10:10:44.000+0000" }, { "id": "443383", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\n\r\nRan KS V2 multiple times & did not see any {{\"Runtime Exception: Layout cycle detected.\"}} exception.\r\n\r\nSDK : 7.5.0.v20181107142952\r\nOS: Win 10 Pro 64-bit", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T23:04:11.000+0000", "updated": "2018-11-07T23:04:11.000+0000" }, { "id": "443384", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T23:05:09.000+0000", "updated": "2018-11-07T23:05:09.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }