Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8462285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:07:27+00:00 2026-06-10T14:07:27+00:00

Can anyone tell me how to tackle this exception? The debugger is at an

  • 0

useless stack

Can anyone tell me how to tackle this exception? The debugger is at an exception breakpoint and as you can see there seems to be zero actionable information about the exception. Where did it occur? Pretty sure it’s not in my code but I’m at a loss about how to proceed…

Many thanks for any help.

Edit 1:
Here’s the console contents

* Terminating app due to uncaught exception ‘NSRangeException’, reason: ‘*
-[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array’

*** First throw call stack: (0x30ce188f 0x3627e259 0x30c2a9db 0x8d029 0x915c5 0x35723c59 0x35725ee7 0x30cb42ad 0x30c374a5 0x30c3736d 0x36ffb439 0x32917cd5 0x72e4d 0x72de8)
terminate called throwing an exception

Edit 2:
Here’s the backtrace

thread #1: tid = 0x1c03, 0x3627e238 libobjc.A.dylib`objc_exception_throw, stop reason = breakpoint 1.1

frame #0: 0x3627e238 libobjc.A.dylib`objc_exception_throw

frame #1: 0x30c2a9da CoreFoundation`-[__NSArrayM objectAtIndex:] + 270

Edit 3 (the solution):
Here’s the backtrace using the main() approach

2012-08-31 10:27:21.489 <>[820:707] Uncaught exception *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array

2012-08-31 10:27:32.908 <>[820:707] Stack trace: (

0   CoreFoundation                      0x30ce18a7 __exceptionPreprocess + 186
1   libobjc.A.dylib                     0x3627e259 objc_exception_throw + 32
2   CoreFoundation                      0x30c2a9db -[__NSArrayM objectAtIndex:] + 270
3   <>                                  0x00050ed1 __55-[SFSummaryCard retrieveAndDisplayFirstImageForString:]_block_invoke_0 + 148
4   <>                                  0x0005546d __block_global_1 + 40
5   libdispatch.dylib                   0x35723c59 _dispatch_call_block_and_release + 12
6   libdispatch.dylib                   0x35725ee7 _dispatch_main_queue_callback_4CF$VARIANT$mp + 194
7   CoreFoundation                      0x30cb42ad __CFRunLoopRun + 1268
8   CoreFoundation                      0x30c374a5 CFRunLoopRunSpecific + 300
9   CoreFoundation                      0x30c3736d CFRunLoopRunInMode + 104
10  GraphicsServices                    0x36ffb439 GSEventRunModal + 136
11  UIKit                               0x32917cd5 UIApplicationMain + 1080
12  <>                                  0x00036c01 main + 220
13  <>                                  0x00036b20 start + 40

)

The key element being: retrieveAndDisplayFirstImageForString()

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T14:07:29+00:00Added an answer on June 10, 2026 at 2:07 pm

    There is a problem on Xcode 4/iOS 5 that sometimes you don’t get the exception traceback in the emulator, due to an apparent bug in the emulator’s pseudo OS. The solution is to add an explicit traceback in your main, along the lines of

    @try {
        retVal = UIApplicationMain...
    }
    @catch (NSException* exception) {
        NSLog(@"Uncaught exception %@", exception);
        NSLog(@"Stack trace: %@", [exception callStackSymbols]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone tell me why this breaks when i put an image tag there?
Can anyone tell me why this code would not be working? $('body').on('test', function() {
Can anyone tell me how to open Auto CAD file in HTML5? Is this
Can anyone tell me why this code would throw an undefined is not a
Can anyone tell me why this won't execute? set serveroutput on ; Declare TYPE
Can anyone tell me why this works: $(#test1 td).click(function(event) { $(#test1).addClass(tableRowSelected); }); $(#test2 td).click(function(event)
Can anyone tell me why does this timer run only once? import java.awt.*; import
Can anyone tell me why this code crashes with SIGABRT unrecognised selector sent to
can anyone tell me why this animation isn't starting? i've tried putting code in
Can anyone tell me why this works in mysql? update routing_policy set priority=''-1 where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.