Crash on nib loading
Crash on nib loading
- Subject: Crash on nib loading
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 08 Aug 2013 16:49:49 +0700
This used to work (10.7, but maybe later as well) but crashes today on 10.8.4:
_graphicsInspectorController = [[NSWindowController alloc] initWithWindowNibName:@"Inspector"];
NSWindow *window = [_graphicsInspectorController window]; ← crashes here
Looks like some NSTextFieldCell is kind of strange. But why? Why on 10.8 but not before?
How to find out what is going wrong?
2013-08-08 16:26:50.078 Sketch[4282:303] -[_NSControllerObjectProxy copyWithZone:]: unrecognized selector sent to instance 0x1021a61e0
2013-08-08 16:26:50.081 Sketch[4282:303] (
0 CoreFoundation 0x00007fff871c5b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8af8e3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8725c40a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff871b402e ___forwarding___ + 414
4 CoreFoundation 0x00007fff871b3e18 _CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff87b1a4e4 -[NSCell _setContents:] + 70
6 AppKit 0x00007fff87b1a3b3 -[NSCell setObjectValue:] + 156
7 AppKit 0x00007fff87b1a2fd -[NSTextFieldCell setObjectValue:] + 43
8 AppKit 0x00007fff87c8117d -[NSControl setObjectValue:] + 138
9 AppKit 0x00007fff87c842ab -[_NSPlaceholderTextFieldPlugin showValue:inObject:] + 376
10 AppKit 0x00007fff87c7fa97 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 827
11 AppKit 0x00007fff87c7f64c -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 192
12 AppKit 0x00007fff87c840ab -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:] + 43
13 AppKit 0x00007fff87c74699 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 641
14 AppKit 0x00007fff87afd09a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
15 AppKit 0x00007fff87adc11d loadNib + 317
16 AppKit 0x00007fff87adb649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
17 AppKit 0x00007fff87c2e58c +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 140
18 AppKit 0x00007fff87c615db -[NSWindowController loadWindow] + 199
19 AppKit 0x00007fff87c612b5 -[NSWindowController window] + 77
20 Sketch 0x0000000100001b0d -[SKTAppDelegate showOrHideGraphicsInspector:] + 205
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden