Uploaded image for project: 'Weex (Retired)'
  1. Weex (Retired)
  2. WEEX-524

[iOS] Try to fix a crash : 'index 0 beyond bounds for empty array'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • iOS
    • None

    Description

      Application Specific Information:

      Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'

      Last Exception Backtrace:
      0 CoreFoundation __exceptionPreprocess :228 (in CoreFoundation)
      1 _objc_exception_throw :56
      2 CoreFoundation _CFThrowFormattedException :112 (in CoreFoundation)
      3 -[__NSArrayM objectAtIndexedSubscript:] :192 (in CoreFoundation)
      4  -[WXThreadSafeMutableArray objectAtIndex:] WXThreadSafeMutableArray.m:0
      5  -[WXBridgeContext topInstance] WXBridgeContext.m:0
      6  +[WXSDKEngine topInstance] WXSDKEngine.m:277 

      Attachments

        Activity

          People

            xyyxyy1234 XuYouyang
            xyyxyy1234 XuYouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: