• 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 question NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash question NSString


  • Subject: Re: crash question NSString
  • From: Steven Degutis <email@hidden>
  • Date: Sat, 5 Sep 2009 10:31:06 -0500

This error is not indicating that the receiver is invalid, but rather than
your argument is nil. Thus, perform some kind of check to verify it's not
nil, before passing it as an argument to the method, lest you get this
error.

--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
On Sat, Sep 5, 2009 at 9:55 AM, Rick C. <email@hidden> wrote:

> hello,
>
> i'm just looking for a confirmation here.  if i'm getting this crash:
>
> *** Terminating app due to uncaught exception 'NSInvalidArgumentException',
> reason: '*** -[NSCFString appendString:]: nil argument'
>
> is it definitely crashing on my NSMutableString appendString: method or is
> it possible it's also crashing on NSString stringByAppendingString:?  as far
> as i know either one will throw an exception that's why i'm asking.  thank
> you,
>
> rick
>
>
>
> _______________________________________________
>
> 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
>
_______________________________________________

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

References: 
 >crash question NSString (From: "Rick C." <email@hidden>)

  • Prev by Date: crash question NSString
  • Next by Date: Re: crash question NSString
  • Previous by thread: crash question NSString
  • Next by thread: Re: crash question NSString
  • Index(es):
    • Date
    • Thread