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

Liveview: Runtime error when loading KS

    Details

      Description

      When running KS with liveview, I get a runtime error saying the backtrace field is undefined.

      Steps to reproduce:
      1. Run liveview with KS on Appcelerator studio
      2. As soon as you launch the app, you will see a runtime error saying:

      E/TiExceptionHandler( 2020): (main) [185,4532] ----- Titanium Javascript Runtime Error -----
      E/TiExceptionHandler( 2020): (main) [0,4532] - In app.js:646,55
      E/TiExceptionHandler( 2020): (main) [0,4532] - Message: Uncaught TypeError: Cannot call method 'replace' of undefined
      E/TiExceptionHandler( 2020): (main) [0,4532] - Source:     console.error('Backtrace:\n', err.error.backtrace.replace(/'\n'/g, '\n'));
      

      Even if there is an uncaught exception, it shouldn't fail when logging it. I'm guessing 'backtrace' isn't a valid field.

        Attachments

          Activity

            People

            • Assignee:
              csullivan Christian Sullivan
              Reporter:
              ayeung Allen Yeung
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code