Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26510

Windows: "Runtime Exception: Layout cycle detected." when launching kitchensink-v2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: Release 7.5.0
    • Component/s: Windows
    • Labels:
    • Environment:

      SDK 7.5.0.v20181030085443
      Appc CLI: 7.0.7
      Windows 10

    • Story Points:
      8
    • Sprint:
      2018 Sprint 22, 2018 Sprint 23

      Description

      Description

      When 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.

      • Commenting out the setText call allows the app to open fine
      • Placing the setText call in a setTimeout fixes the issue
      • Replacing logger.history with 'astring' does not fix the issue

      My best guess right now is that there's some issue around updating the label text while we're laying out the UI?

      Steps to reproduce

      1. Run kitchensink-v2

      Actual

      App will error out on launch

      Expected

      App should not error out on launch

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Ewan Harris
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6664
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code