Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.0.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      SDK 6.1.2.GA
      Android 7.0, phone: Samsung Galaxy S7 edge

      Description

      Customer is facing to the following problem.

      Sometimes our app hangs when launched on android. It doesn't happen every time, but sometimes it will happen fairly frequently on a given device (as much as 30-40% of the time).

      It appears that this exception is to blame

      09-01 14:29:06.650  5042  5042 E TiExceptionHandler: (main) [21,21] ----- Titanium Javascript Runtime Error -----
      09-01 14:29:06.650  5042  5042 E TiExceptionHandler: (main) [0,21] - In ti:/module.js:622,21
      09-01 14:29:06.650  5042  5042 E TiExceptionHandler: (main) [0,21] - Message: Uncaught TypeError: Cannot use 'in' operator to search for 'Resources/TitanUp/TitanUp' in null
      09-01 14:29:06.650  5042  5042 E TiExceptionHandler: (main) [0,21] - Source:    return filename in fileIndex;
      09-01 14:29:06.651  5042  5063 E V8Exception: Exception occurred at ti:/module.js:622: Uncaught TypeError: Cannot use 'in' operator to search for 'Resources/TitanUp/TitanUp' in null
      09-01 14:29:06.675  2366  2377 D InputDispatcher: Focus entered window: 5042
      

      (TitanUp is a commonjs module belong to customer)

      Attached is the full adb log for the process in question.
      And customer believe that is probably a bug inside the Titanium runtime.

      Customer also complain that "How could our Javascript trigger an exception like this so early in the application's life cycle? It looks like a problem resolving the path to our library, which suggests that it is inside the Titanium runtime."

      Please advise.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                sliang Shuo Liang
                Reviewer:
                Christopher Williams
                Tester:
                Lokesh Choudhary
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code