• 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 01:12:41 +0200

Op 9-sep-2006, om 22:30 heeft j o a r het volgende geschreven:

On 9 sep 2006, at 21.49, patrick machielse wrote:

Is anyone familiar with this error? What is the best approach for debugging this kind of problems?

When you get "selector not recognized" for unexpected or unknown objects, it's often the case that a deallocated object has been the target of the message.


Google for NSZombieEnabled to find out how to troubleshoot that type of problem.

I tried running with NSZobieEnabled, but that didn't give any extra information. The output on the console:


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'.

I don't get it :-(

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


  • Follow-Ups:
    • Re: _NSStateMarker
      • From: Uli Kusterer <email@hidden>
    • Re: _NSStateMarker
      • From: patrick machielse <email@hidden>
    • Re: _NSStateMarker
      • From: "R. Matthew Emerson" <email@hidden>
References: 
 >_NSStateMarker (From: patrick machielse <email@hidden>)
 >Re: _NSStateMarker (From: j o a r <email@hidden>)

  • Prev by Date: Re: _NSStateMarker
  • Next by Date: FolderItem equivalent?
  • Previous by thread: Re: _NSStateMarker
  • Next by thread: Re: _NSStateMarker
  • Index(es):
    • Date
    • Thread