• 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: [indexPath row] uncaught exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [indexPath row] uncaught exception


  • Subject: Re: [indexPath row] uncaught exception
  • From: Koen van der Drift <email@hidden>
  • Date: Mon, 25 Mar 2013 16:16:56 -0400

I figured out the problem.

My tableview is part of an UIScrollView and UIPageControl set up where the user can swipe various table views into view.  Now I failed to call reload of the tableView in viewWillAppear as well as when the pageControl switches, causing the wrong data to show up, and hence causing the out of bounds error.

- Koen.



On Mar 25, 2013, at 3:21 PM, Seth Willits <email@hidden> wrote:

> On Mar 25, 2013, at 12:01 PM, Koen van der Drift wrote:
>
>> Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 104 beyond bounds [0 .. 103]'.
>
> What's the stack trace when the exception is thrown?
>
>
> --
> Seth Willits
>
>
>
>
> _______________________________________________
>
> 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: 
 >[indexPath row] uncaught exception (From: Koen van der Drift <email@hidden>)
 >Re: [indexPath row] uncaught exception (From: Seth Willits <email@hidden>)

  • Prev by Date: Custom Delegate - Using _delegate works but not delegate or [self delegate]
  • Next by Date: Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]
  • Previous by thread: Re: [indexPath row] uncaught exception
  • Next by thread: Re: UINavigationController
  • Index(es):
    • Date
    • Thread