Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-5345

Android: When Main Window closed by exitOnClose=true, if try to relaunch,`AssetManager is null`error is shown.

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ti SDK 6.1.2.GA to 6.3.0.GA

      Description

      When Main Window closed by exitOnClose=true, if try to relaunch application,`AssetManager is null`error is shown.

      It always happens when you restart application quickly.
      Try it after a while and it will launch succeed.

      It's terrible & critical issue!

      [DEBUG] Window: Window is closed normally.
      [INFO]  TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
      [ERROR] TiAssetHelper: AssetManager is null, can't read asset: app.json
      [WARN]  TiApplication: (main) [153,153] Registering module with name already in use.
      [ERROR] TiAssetHelper: AssetManager is null, can't read asset: index.json
      [ERROR] TiExceptionHandler: (main) [100,253] ----- Titanium Javascript Runtime Error -----
      [ERROR] TiExceptionHandler: (main) [0,253] - In ti:/module.js:622,21
      [ERROR] TiExceptionHandler: (main) [0,253] - Message: Uncaught TypeError: Cannot use 'in' operator to search for 'Resources/alloy' in null
      [ERROR] TiExceptionHandler: (main) [0,253] - Source: 	return filename in fileIndex;
      [ERROR] V8Exception: Exception occurred at ti:/module.js:622: Uncaught TypeError: Cannot use 'in' operator to search for 'Resources/alloy' in null
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shossain Shak Hossain
                Reporter:
                engross Dongwoo Gim
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code