Open luyong6 opened 6 years ago
luyongdeair:~ luyong$ /Applications/MWeb.app/Contents/MacOS/MWeb ; exit;
2018-04-23 11:20:09.316 MWeb[38460:1934773] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[CFAMDTextView setFont:]: nil NSFont given.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff4f65732b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff76ccdc76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff4f6e8dcd +[NSException raise:format:] + 205
3 AppKit 0x00007fff4cdacf5c -[NSTextView setFont:] + 158
4 MWeb 0x000000010688329b MWeb + 901787
5 MWeb 0x000000010688b905 MWeb + 936197
6 AppKit 0x00007fff4cbaea9e -[NSViewController _loadViewIfRequired] + 75
7 AppKit 0x00007fff4cbaea09 -[NSViewController view] + 30
8 MWeb 0x00000001068b82b9 MWeb + 1118905
9 MWeb 0x00000001068b529e MWeb + 1106590
10 MWeb 0x00000001068b4b36 MWeb + 1104694
11 libdispatch.dylib 0x00007fff778b564a _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x00007fff778ade08 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff778b93e5 _dispatch_main_queue_callback_4CF + 1148
14 CoreFoundation 0x00007fff4f60fc69 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
15 CoreFoundation 0x00007fff4f5d1e4a __CFRunLoopRun + 2586
16 CoreFoundation 0x00007fff4f5d11a3 CFRunLoopRunSpecific + 483
17 HIToolbox 0x00007fff4e8b9d96 RunCurrentEventLoopInMode + 286
18 HIToolbox 0x00007fff4e8b9b06 ReceiveNextEventCommon + 613
19 HIToolbox 0x00007fff4e8b9884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
20 AppKit 0x00007fff4cb6ca73 _DPSNextEvent + 2085
21 AppKit 0x00007fff4d302e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
22 AppKit 0x00007fff4cb61885 -[NSApplication run] + 764
23 AppKit 0x00007fff4cb30a72 NSApplicationMain + 804
24 libdyld.dylib 0x00007fff778e7015 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
看来问题是和setFont有关,这个怎么解决呢? 是我缺少某种font吗?
不是,应该是偏好设置读不出来。 可以试试重启 macOS
一打开就闪退。。98块白花了?!!!