Wrox Programmer Forums
|
BOOK: Professional iPhone and iPad Database Application Programming
This is the forum to discuss the Wrox book Professional iPhone and iPad Database Application Programming by Patrick Alessi; ISBN: 978-0-470-63617-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Database Application Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2012, 02:43 PM
Registered User
 
Join Date: Nov 2011
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 2 page 52 index beyond bounds error

Hello: When Running Catalog project on page 52, I get an index beyond bounds error. I added a bunch of logs and it appears to complete the getAllProducts method. Then it completes the viewDidLoad. Then it completes numberOfRowsInSection (with count = 21). Then it throws an error seen below - I'm have not been able to find source of this error. Any help is greatly appreciated. Thanks, Hawk

Quote:
2012-08-28 14:30:18.616 Catalog[521:f803] Getting Products8
2012-08-28 14:30:18.617 Catalog[521:f803] Getting Products9
2012-08-28 14:30:18.618 Catalog[521:f803] Master View2
2012-08-28 14:30:18.618 Catalog[521:f803] Master View3
2012-08-28 14:30:18.619 Catalog[521:f803] Master View4
2012-08-28 14:30:18.621 Catalog[521:f803] Rows In Section1
2012-08-28 14:30:18.622 Catalog[521:f803] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
*** First throw call stack:
(0x1588052 0x1719d0a 0x1574674 0x4f6805 0x30627a 0x2b1548...
 
Old September 6th, 2012, 07:56 AM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Rather than speculate, if you send your code to
[email protected]

I should be able to track down the issue.

Bob





Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Page 52 in Error NetWorld BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 0 October 11th, 2010 01:54 PM
Chapter 1 Page 52 using VB sammyw BOOK: Professional ADO.NET 3.5 with LINQ and the Entity Framework ISBN: 978-0-470-22988-0 0 March 27th, 2009 12:46 PM
Index was outside the bounds of the array dba123 Reporting Services 0 March 6th, 2006 11:25 AM
Chapter 2 - Page 52, 53 Chudz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 8 February 19th, 2006 07:09 PM
index outside bounds of array error? barmanvarn BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 February 17th, 2005 03:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.