Re: _NSStateMarker
Re: _NSStateMarker
- Subject: Re: _NSStateMarker
- From: patrick machielse <email@hidden>
- Date: Sun, 10 Sep 2006 14:14:37 +0200
Op 10-sep-2006, om 01:12 heeft patrick machielse het volgende
geschreven:
NSZombieEnabled=YES
2006-09-10 00:56:55.117 MyProgram[351] *** -[_NSStateMarker
boolValue]: selector not recognized
2006-09-10 00:56:55.119 MyProgram[351] An uncaught exception was
raised
2006-09-10 00:56:55.134 MyProgram[351] *** -[_NSStateMarker
boolValue]: selector not recognized
2006-09-10 00:56:55.136 MyProgram[351] *** Uncaught exception:
<NSInvalidArgumentException> *** -[_NSStateMarker boolValue]:
selector not recognized
Hmm, it's an NSInvalidArgumentException. The _NSStateMarker
instance is passed as an argument and should respond to 'boolValue'.
The problem was that the array controller was bound to the user
defaults. On the Panther installation, there existed no preference
file, hence no array, hence no possible selection. Removing the
preference file on Tiger resulted in the same error message.
Registering some proper defaults in +initialize solved the problem. A
typical 'after 10pm' problem...
Thanks for all replies,
patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden