• 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: Crash while making NSDictionary... Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash while making NSDictionary... Help!


  • Subject: Re: Crash while making NSDictionary... Help!
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 22 May 2002 03:00:56 -0400

I can't believe I missed that it was that.. it was so obvious...

but still, style and easy of use wise, my way is better than using the C arrays... :-)


On Tuesday, May 21, 2002, at 11:21 PM, Andy Lee wrote:

The problem is here:

[defaults registerDefaults:appDefaults];

The variable "defaults" has not been initialized to anything, and therefore contains an unpredictable value. You are sending the -registerDefaults: message to a non-nil non-object, hence the crash.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Crash while making NSDictionary... Help! (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Crash while making NSDictionary... Help!
  • Next by Date: Re: Disabling anti-aliasing in an NSTextView - is it possible?
  • Previous by thread: Re: Crash while making NSDictionary... Help!
  • Next by thread: Re: Crash while making NSDictionary... Help!
  • Index(es):
    • Date
    • Thread