Details

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

      Android 4.0-6.0
      appc - 5.1.0
      appc ti - 5.0.2
      ti sdk - 5.0.2.GA

    • Sprint:
      2015 Sprint 25 SDK

      Description

      We have found that sometimes on the Android platform when a user resumes out app it crashes immediately. To the user it looks like they click on the app icon and there is a black flash and they have to click the app icon again to launch it. I have attached a log from Critterism.

      From our testing and the logs it looks like it occurs when the app is backgrounded for a couple hours.

      After investigating the crash log it looks like the crash occurs in the "TiBaseActivity" class. The method "callOrientationChangedListener" is passed a null Activity object and the method fails to check for null before calling "activity.getWindowManager()".

      The null activity is coming from TiApplication.getAppRootOrCurrentActivity(). I have not been able to determine a case there TiApplication.getAppRootOrCurrentActivity() should ever return null.

        Attachments

          Activity

            People

            • Assignee:
              msamah Ashraf Abu (Inactive)
              Reporter:
              CollinPrice Collin Price
              Reviewer:
              Ashraf Abu (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code