XuYouyang created WEEX-524:
------------------------------
Summary: [iOS] Try to fix a crash : 'index 0 beyond bounds for
empty array'
Key: WEEX-524
URL: https://issues.apache.org/jira/browse/WEEX-524
Project: Weex
Issue Type: Improvement
Components: iOS
Reporter: XuYouyang
Assignee: XuYouyang
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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)