0

Sorry, I'm afraid this question is fairly ambiguous but I don't know the correct terminology to use. Maybe someone could edit it?

I'm trying to fathom what this problem is

2012-12-23 09:53:36.827 myApp[10768:303] *** -[__NSArrayM objectAtIndex:]: index 13 beyond bounds for empty array

does the number pair in squard brackets refer to a line number or something?

neutrino
  • 341
  • 1
  • 3
  • 19

1 Answers1

2

These are [processId:logging thread's Mach port]

Misha
  • 5,260
  • 6
  • 35
  • 63
  • Ok, thanks. Do you have any ideas how I could track down this error? – neutrino Dec 23 '12 at 10:08
  • 1
    It says that you're trying to access 13th element in array while it has less that 13 elements total. If you want to find where this error is you can track stack trace which has to be opened at the left of XCode when you run your app and it crashes. – Misha Dec 23 '12 at 10:13
  • Ahh great, I've found the problem. Thanks! – neutrino Dec 23 '12 at 10:16
  • 1
    @AnoopVaidya: Depends on what you mean by “your array has no value”. There is definitely an array, but it contains no objects. – Peter Hosey Dec 23 '12 at 20:05