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

  • Home
  • SEARCH
  • 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 7766679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:28:57+00:00 2026-06-01T15:28:57+00:00

I am obj c n00b so forgive me if this is a dumb question,

  • 0

I am obj c n00b so forgive me if this is a dumb question, but my app is crashing when this JSON call is happening and it wasn’t before. I am 95% positive it has something to do with the php call on the server. Would love any thoughts on this. 🙂

Thanks!

Here is where it breaks…

else if([ret_st hasPrefix:@"Account veri"]){


    NSMutableArray *Array=[ret_st componentsSeparatedByString:@"_"];
    appDelegate.user_id=[Array objectAtIndex:1];

NSLog(@”user_id %@”,appDelegate.user_id);

2012-04-07 09:43:51.094 App[57919:15e03] request requestType=signup&name=Test&email=test@test.com&password=test&zip=90084&id=22 return_strr Account verified204
2012-04-07 09:43:51.094 App[57919:15e03] * Terminating app due to uncaught exception ‘NSRangeException’, reason: ‘* -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]’
* First throw call stack:
(0x1a23022 0x1e0ccd6 0x1a0f644 0xdb5d 0x10a85d 0x19f7936 0x19f73d7 0x195a790 0x1959d84 0x1959c9b 0x230d7d8 0x230d88a 0x442626 0x279d 0x2065)
terminate called throwing an exception

  • 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-01T15:28:59+00:00Added an answer on June 1, 2026 at 3:28 pm

    Somewhere you have an array with one object in it at index 0 (bounds [0 .. 0]) but you are asking for an object at index 1 (index 1 beyond bounds). Check your code for objectAtIndex: calls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Obj-C method similar to this: -(void)getUserDefaults:(BOOL *)refreshDefaults { PostAppDelegate *appDelegate =
obj = Info(name= sub,question=response_dict[question]) obj.save() After saving the data how to update another field
obj-c question. I have text that I parse that contains CDDATA (html amp chars
var obj = {} obj.__setitem__ = function(key, value){ this[key] = value * value }
function removeNewsItem(id,idStamp,obj){ $('#whiteCover')show(); $('#contentOfBox').html= ('Are you sure you want ot completely remove this news
I have obj like this {hello: 'world', foo.0.bar: v1, foo.0.name: v2, foo.1.bar: v3} It
I was expecting the obj to be instanceof F1 ('this' in 'this.prop' refers to
In obj-c, how can I call [myClass myString]; where myString = @myMethod; Which should
For exampleis this: function obj(val) { this.val = val; } obj.prototype.newfunction = function(){ return
I'm writing an obj-c app and would like to upload a binary file a

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.