• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _NSStateMarker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >_NSStateMarker (From: patrick machielse <email@hidden>)
 >Re: _NSStateMarker (From: j o a r <email@hidden>)
 >Re: _NSStateMarker (From: patrick machielse <email@hidden>)

  • Prev by Date: Bind to single table selection but not multiple?
  • Next by Date: Re: Speaking of tracking rects...
  • Previous by thread: Re: _NSStateMarker
  • Next by thread: Re: _NSStateMarker
  • Index(es):
    • Date
    • Thread