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

iOS: uncaught exceptions in event listeners don't show error modal

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 8.3.0
    • Fix Version/s: Release 9.0.0
    • Component/s: iOS
    • Labels:

      Description

      If code throws an uncaught exception in a "new" obj-c based proxy inside of an event listener (possibly also a timer), it behaves differently than when an "old style" C-API proxy does so.

      In old style proxies, we had a global uncaught exception handler that popped the error modal dialog (and possibly also linked to the crash reporting module?). With new style proxies the exception basically gets propagated up and if the user JS code doesn't handle it via try/catch it can cause a crash.

      We had tried to handle this in an incorrect way that had to be rolled back here: https://github.com/appcelerator/titanium_mobile/pull/10862

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
                Reviewer:
                Jan Vennemann
                Tester:
                Sohail Saddique
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration