在用Mac电脑Notes备忘录的时候,出现奔溃,打不开Notes
Process: Notes [594]
Path: /Applications/Notes.app/Contents/MacOS/Notes
Identifier: com.apple.Notes这里写代码片
Time Awake Since Boot: 150 seconds
Time Since Wake: 7 seconds
System Integrity Protection: enabled
Crashed Thread: 6 Dispatch queue: NSOperationQueue 0x6000000d4ac0 :: NSOperation 0x6000000d46d0 (QOS: DEFAULT)
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: ‘-[__NSCFString appendString:]: nil argument’
abort() called
terminating with uncaught exception of type NSException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fffd579c2cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffea5b448d objc_exception_throw + 48
2 CoreFoundation 0x00007fffd581ac3d +[NSException raise:format:] + 205
3 CoreFoundation 0x00007fffd57cc364 mutateError + 196
4 Notes 0x00007fffe54439fe -[ICNFIMAPClientData addStringArgument:] + 180
5 Notes 0x00007fffe54e4f10 -[ICNFIMAPClientLoginOperation newCommandDataForLiteralPlus:] + 123
最后解决办法是:进入:~/资源库/caches和~/资源库/Containers/com.apple.Notes/Data/Library/Notes 。把里面的缓存都删了重启看看情况