我在MAC中遇到这个异常,我在一个Window中创建了两个Tab View Item。我有一个每个选项卡的表视图。 我搜索了很多但看不到任何灵魂?有人能帮助我吗?
SourceCache/AppKit/AppKit-1265.21/AppKit.subproj/NSClipView.m:945
2014-07-30 13:54:08.204 Intralinks VIA[728:1003] An uncaught exception was raised
2014-07-30 13:54:08.204 Intralinks VIA[728:1003] Overhang subviews getting created twice!
2014-07-30 13:54:08.205 Intralinks VIA[728:1003] (
0 CoreFoundation 0x00007fff9474025c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8d321e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff94740038 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff8a088d41 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff92b34cfd -[NSClipView _addOverhangSubviewsIfNeeded] + 150
5 AppKit 0x00007fff9278c451 -[NSClipView setDocumentView:] + 530
6 AppKit 0x00007fff9278bfe8 -[NSScrollView setDocumentView:] + 114
7 AppKit 0x00007fff9271e7de -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 358
8 AppKit 0x00007fff927135ce loadNib + 327
9 AppKit 0x00007fff92712b6c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
10 AppKit 0x00007fff929a74d2 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 140
11 AppKit 0x00007fff929a72ca -[NSWindowController loadWindow] + 196
12 AppKit 0x00007fff929abf88 -[NSWindowController window] + 80
13 AppKit 0x00007fff929ad0f0 -[NSWindowController showWindow:] + 36
答案 0 :(得分:0)
我得到了答案。 问题是我从后台线程调用showWindow而不是主线程。