• 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: NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil


  • Subject: Re: NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 6 Jul 2008 01:52:19 -0600


On Jul 6, 2008, at 1:25 AM, Jesse Armand wrote:

Is there any of you can give me an idea on the cause of this uncaught exception:

'NSInvalidArgumentException', reason: '*** -[NSCFArray
insertObject:atIndex:]: attempt to insert nil'

It means something tried to insert nil into an NSMutableArray, which is not allowed.


I can't seem to find where I should look to trace for this problem,
even though I thought this could be happening because I'd done
something wrong related to CFRunLoop.


Break on objc_exception_throw, as well as -[NSException raise] if you're using Tiger or earlier.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

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: 
 >NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil (From: "Jesse Armand" <email@hidden>)

  • Prev by Date: NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
  • Next by Date: Re: Capture Window/View created through NSTask
  • Previous by thread: NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
  • Next by thread: Efficiently receiving data from an NSTask
  • Index(es):
    • Date
    • Thread