反应原生NSInvalidArgumentException尝试从对象中插入零对象[0]

时间:2020-10-28 08:51:14

标签: ios xcode react-native error-handling react-native-ios

我在生产模式下有错误,并且无法在显影模式下重现。此错误仅出现在IOS上。有人可以帮我理解错误的原因。

Crashed: Thread
NSInvalidArgumentException *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
0  CoreFoundation     (Missing)
1  libobjc.A.dylib    objc_exception_throw + 60
2  CoreFoundation     (Missing)
3  CoreFoundation     (Missing)
4  CoreFoundation     (Missing)
5  CoreFoundation     (Missing)
6  vtb.invest         facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>) + 536928
7  vtb.invest         facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>) + 300440
8  libdispatch.dylib  (Missing)
9  libdispatch.dylib  (Missing)
10 libdispatch.dylib  _dispatch_main_queue_callback_4CF + 836
11 CoreFoundation     (Missing)
12 CoreFoundation     (Missing)
13 CoreFoundation     CFRunLoopRunSpecific + 600
14 GraphicsServices   GSEventRunModal + 164
15 UIKitCore          (Missing)
16 UIKitCore          UIApplicationMain + 168
17 vtb.invest         (Missing)
18 libdyld.dylib      (Missing)

0 个答案:

没有答案