• 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: ArrayController Out of Bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ArrayController Out of Bounds


  • Subject: Re: ArrayController Out of Bounds
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 4 Jun 2008 07:52:06 -0700

On Wed, Jun 4, 2008 at 7:50 AM, Shawn Erickson <email@hidden> wrote:
> On Wed, Jun 4, 2008 at 6:18 AM, Gerriet M. Denkmann
> <email@hidden> wrote:
>
>> When this table contains some rows and I click on the table column header I
>> always get:
>> *** -[NSCFArray objectAtIndex:]: index (-1) beyond bounds (5)
>> where 5 is the correct number of rows displayed.
>>
>> What am I doing wrong?
>> This is on Tiger 10.4.11
>
> Need to see some code likely... Are you using a data source? or
> controller layer (bindings)?
>
> You can set a break point on the above method and make it conditional
> on the index being -1 to see the code path that is hitting this. Also
> I think that is an exception so you can set a break point on ... humm
> sorry cannot recall the low level throw method on 10.4 (not enough
> coffee yet).

Doh sorry it looks like you are using an array controller... was
thinking those happened be descriptions of the data array.

-Shawn
_______________________________________________

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: 
 >ArrayController Out of Bounds (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: ArrayController Out of Bounds (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: ArrayController Out of Bounds
  • Next by Date: Re: How to implement window fade-in fade-out effects
  • Previous by thread: Re: ArrayController Out of Bounds
  • Next by thread: Re: ArrayController Out of Bounds
  • Index(es):
    • Date
    • Thread