Post

Replies

Boosts

Views

Activity

'*** setObjectForKey: object cannot be nil (key: MainMenu)
We recently received some unknown crash messages, but after checking, we did not find any use in our project. We only use the storyboard menu in our project, we don't use any viewControllers, and we don't have any storyboard-related code in our code. Crash : it was crashed only at the first time install while startup, then it will work fine. Crash device: MacBook Pro Retina 15-Inch, MID 2015 Crashed system: macOS Sierra 10.12.6 Archive System: macOS 12.2.1 Archive Device: MacBook Pro 13-Inch M1 2020 Xcode Version: 13.2.1 (13C100) Here's some summary information: Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Tiger Trade [11227] User ID: 501 Date/Time: 2022-03-09 20:42:31.729 +0800 OS Version: Mac OS X 10.12.6 (16G2136) Report Version: 12 Anonymous UUID: BE9B4928-36B6-78E0-CE23-23A91E4A021B Sleep/Wake UUID: F8CE2AA3-F8E2-4BD5-AED8-7E45AB6EEF51 Time Awake Since Boot: 290000 seconds Time Since Wake: 34000 seconds System Integrity Protection: enabled Notes: Translocated Process Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: MainMenu)' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 1: 0 CoreFoundation 0x00007fffb823d7eb __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffcd07e48d objc_exception_throw + 48 2 CoreFoundation 0x00007fffb813960a -[__NSDictionaryM setObject:forKey:] + 1146 3 AppKit 0x00007fffb64a15a0 -[NSStoryboard nibForControllerWithIdentifier:] + 406 4 AppKit 0x00007fffb64a11fa -[NSStoryboard _instantiateMainMenu:] + 85 5 AppKit 0x00007fffb5c66bce NSApplicationMain + 741 6 libdyld.dylib 0x00007fffcd9b8235 start + 1 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fffcdae6d42 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fffcdbd4457 pthread_kill + 90 2 libsystem_c.dylib 0x00007fffcda4c420 abort + 129 3 libc++abi.dylib 0x00007fffcc54c94a abort_message + 266 4 libc++abi.dylib 0x00007fffcc571c2f default_terminate_handler() + 267 5 libobjc.A.dylib 0x00007fffcd0806fe _objc_terminate() + 103 6 libc++abi.dylib 0x00007fffcc56ed49 std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007fffcc56e7be __cxa_throw + 121 8 libobjc.A.dylib 0x00007fffcd07e5b6 objc_exception_throw + 345 9 com.apple.CoreFoundation 0x00007fffb813960a -[__NSDictionaryM setObject:forKey:] + 1146 10 com.apple.AppKit 0x00007fffb64a15a0 -[NSStoryboard nibForControllerWithIdentifier:] + 406 11 com.apple.AppKit 0x00007fffb64a11fa -[NSStoryboard _instantiateMainMenu:] + 85 12 com.apple.AppKit 0x00007fffb5c66bce NSApplicationMain + 741 13 libdyld.dylib 0x00007fffcd9b8235 start + 1
0
0
460
Mar ’22
'*** setObjectForKey: object cannot be nil (key: MainMenu)
We recently received some unknown crash messages, but after checking, we did not find any use in our project. We only use the storyboard menu in our project, we don't use any viewControllers, and we don't have any storyboard-related code in our code. Crash : it was crashed only at the first time install while startup, then it will work fine. Crash device: MacBook Pro Retina 15-Inch, MID 2015 Crashed system: macOS Sierra 10.12.6 Archive System: macOS 12.2.1 Archive Device: MacBook Pro 13-Inch M1 2020 Xcode Version: 13.2.1 (13C100) Here's some summary information: Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Tiger Trade [11227] User ID: 501 Date/Time: 2022-03-09 20:42:31.729 +0800 OS Version: Mac OS X 10.12.6 (16G2136) Report Version: 12 Anonymous UUID: BE9B4928-36B6-78E0-CE23-23A91E4A021B Sleep/Wake UUID: F8CE2AA3-F8E2-4BD5-AED8-7E45AB6EEF51 Time Awake Since Boot: 290000 seconds Time Since Wake: 34000 seconds System Integrity Protection: enabled Notes: Translocated Process Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: MainMenu)' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 1: 0 CoreFoundation 0x00007fffb823d7eb __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffcd07e48d objc_exception_throw + 48 2 CoreFoundation 0x00007fffb813960a -[__NSDictionaryM setObject:forKey:] + 1146 3 AppKit 0x00007fffb64a15a0 -[NSStoryboard nibForControllerWithIdentifier:] + 406 4 AppKit 0x00007fffb64a11fa -[NSStoryboard _instantiateMainMenu:] + 85 5 AppKit 0x00007fffb5c66bce NSApplicationMain + 741 6 libdyld.dylib 0x00007fffcd9b8235 start + 1 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fffcdae6d42 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fffcdbd4457 pthread_kill + 90 2 libsystem_c.dylib 0x00007fffcda4c420 abort + 129 3 libc++abi.dylib 0x00007fffcc54c94a abort_message + 266 4 libc++abi.dylib 0x00007fffcc571c2f default_terminate_handler() + 267 5 libobjc.A.dylib 0x00007fffcd0806fe _objc_terminate() + 103 6 libc++abi.dylib 0x00007fffcc56ed49 std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007fffcc56e7be __cxa_throw + 121 8 libobjc.A.dylib 0x00007fffcd07e5b6 objc_exception_throw + 345 9 com.apple.CoreFoundation 0x00007fffb813960a -[__NSDictionaryM setObject:forKey:] + 1146 10 com.apple.AppKit 0x00007fffb64a15a0 -[NSStoryboard nibForControllerWithIdentifier:] + 406 11 com.apple.AppKit 0x00007fffb64a11fa -[NSStoryboard _instantiateMainMenu:] + 85 12 com.apple.AppKit 0x00007fffb5c66bce NSApplicationMain + 741 13 libdyld.dylib 0x00007fffcd9b8235 start + 1
Replies
0
Boosts
0
Views
460
Activity
Mar ’22