• 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: debugging hard-to-locate error in NSApplication delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging hard-to-locate error in NSApplication delegate


  • Subject: Re: debugging hard-to-locate error in NSApplication delegate
  • From: "Michael Ash" <email@hidden>
  • Date: Mon, 12 Jan 2009 11:24:28 -0500

On Mon, Jan 12, 2009 at 11:11 AM, Greg Beaver <email@hidden> wrote:
> Hi,
>
> Does anyone have working code that shows an application delegate in a
> core data document-based app?  I'm trying to intercept
> applicationShouldOpenUntitledFile: in order to open the last-saved
> document.  I have code that works, but it causes this error:
>
> *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

First thing you need to do is find out where this error is coming
from. Without that information, the problem is far too difficult. See
"Breaking on Exceptions" on this page:

http://www.cocoadev.com/index.pl?DebuggingTechniques

Mike
_______________________________________________

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

  • Follow-Ups:
    • RE: debugging hard-to-locate error in NSApplication delegate
      • From: "Jon C. Munson II" <email@hidden>
References: 
 >debugging hard-to-locate error in NSApplication delegate (From: Greg Beaver <email@hidden>)

  • Prev by Date: Re: Mac Pro memory sizes
  • Next by Date: Re: create custom control same as multiple monitor control that manages monitors windows
  • Previous by thread: debugging hard-to-locate error in NSApplication delegate
  • Next by thread: RE: debugging hard-to-locate error in NSApplication delegate
  • Index(es):
    • Date
    • Thread