• 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: NSTableView Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Issue


  • Subject: Re: NSTableView Issue
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 13 Nov 2008 11:57:12 -0500

On Thu, Nov 13, 2008 at 3:14 AM, Chris <email@hidden> wrote:
> This is an issue I've been stuck on for a while, I'm trying to load an
> instance of NSHTTPCookieStorage into a table view.  I have it far enough so
> that when I build the app and load it, it displays this
> http://i38.tinypic.com/315en3c.png.  However when I attempt to scroll up or
> down, the app does nothing and I receive these error message in the console:
>
> *** -[NSCFArray objectAtIndex:]: index (2) beyond bounds (2)

  Hard to say without some basic debugging information. Is "cookies"
being mutated by another thread? Is "cookies" being properly retained?
What do you see if you break on your "NSHTTPCookie *cookie = [cookies
objectAtIndex: row];" line and examine the "cookies" array each time?

--
I.S.
_______________________________________________

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: 
 >NSTableView Issue (From: Chris <email@hidden>)

  • Prev by Date: Re: JPEG compression in TIFF files. NSTIFFCompressionJPEG
  • Next by Date: Re: Weird bug in IB...
  • Previous by thread: NSTableView Issue
  • Next by thread: Does HELP cache source location?
  • Index(es):
    • Date
    • Thread