How to locate error that occurs while the nib is loading
How to locate error that occurs while the nib is loading
- Subject: How to locate error that occurs while the nib is loading
- From: Louis Demers <email@hidden>
- Date: Wed, 10 Sep 2008 23:33:31 -0400
Hi,
I want to modify an application I developed for 10.4 with an IB plugin
I created to do Hex number formatting. Since 10.5, that IB plugin no
longer works so I tried to remove all formatters from my NIB file.
However , now when I start the app, it crashes while loading the nib.
The nib (a single one) has lots of views, windows and obviously
NSTextFields. Any clues how to debug such a crash
Any help would be greatly appreciated.
2008-09-10 23:10:26.244 ATV-2400 OSX[3245:10b] Starting...
2008-09-10 23:10:26.543 ATV-2400 OSX[3245:10b] *** -[NSTextField
copyWithZone:]: unrecognized selector sent to instance 0x134b50
2008-09-10 23:10:26.547 ATV-2400 OSX[3245:10b] An uncaught exception
was raised
2008-09-10 23:10:26.547 ATV-2400 OSX[3245:10b] *** -[NSTextField
copyWithZone:]: unrecognized selector sent to instance 0x134b50
2008-09-10 23:10:26.548 ATV-2400 OSX[3245:10b] *** Terminating app due
to uncaught exception 'NSInvalidArgumentException', reason: '*** -
[NSTextField copyWithZone:]: unrecognized selector sent to instance
0x134b50'
2008-09-10 23:10:26.551 ATV-2400 OSX[3245:10b] Stack: (
2502508875,
2460483835,
2502538058,
2502531404,
2502531602,
2518687460,
2518770442,
2518770179,
2520194219,
2521592482,
2520924807,
2520923526,
2520922448,
2520928305,
2520702583,
2520670440,
2520917790,
2518653604,
2518613522,
2518611828,
2518610871,
2518610677,
2518609828,
11932,
10226,
10009
)
#0 0x95293ff4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___
#1 0x92a800fb in objc_exception_throw
#2 0x9529b34a in -[NSObject doesNotRecognizeSelector:]
#3 0x9529994c in ___forwarding___
#4 0x95299a12 in __forwarding_prep_0___
#5 0x96201ee4 in -[NSCell _setContents:]
#6 0x9621630a in -[NSCell setObjectValue:]
#7 0x96216203 in -[NSActionCell setObjectValue:]
#8 0x96371cab in -[NSControl setObjectValue:]
#9 0x964c72a2 in -[_NSPlaceholderTextFieldPlugin showValue:inObject:]
#10 0x96424287 in -[NSValueBinder showValue:inObject:]
#11 0x96423d86 in -[NSValueBinder
_adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState
:]
#12 0x96423950 in -[NSValueBinder
_observeValueForKeyPath:ofObject:context:]
#13 0x96425031 in -[NSTextValueBinder
_observeValueForKeyPath:ofObject:context:]
#14 0x963ede77 in -[NSBinder _performConnectionEstablishedRefresh]
#15 0x963e60e8 in -[NSObject(NSKeyValueBindingCreation)
bind:toObject:withKeyPath:options:]
#16 0x9642271e in -[NSNibBindingConnector establishConnection]
#17 0x961f9aa4 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:]
#18 0x961efe12 in loadNib
#19 0x961ef774 in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:]
#20 0x961ef3b7 in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:]
#21 0x961ef2f5 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#22 0x961eefa4 in NSApplicationMain
#23 0x00002e9c in main at main.m:25
Louis Demers eng.
www.obzerv.com
_______________________________________________
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