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 7566989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:33:04+00:00 2026-05-30T14:33:04+00:00

hi all i have implemented code like below and i am getting NSMutableArray items

  • 0

hi all i have implemented code like below and i am getting NSMutableArray items as shown in the below but when i am uploading the array items to the table view it showing
ContactTesting with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.(gdb). so give the solution for upending NSMutableArray items to the tableview in iphone.

array=[[NSMutableArray alloc]init];
for (int i=0; i<[arrStation count]; i++){
        NSString *str=[[[[[arrStation objectAtIndex:i] objectForKey:@"content"]   objectForKey:@"m:properties"] objectForKey:@"d:ContactName"] objectForKey:@"text"];
        //  NSlog(@"name is : %@",str);
        //NSLog(@"name is->>>>>>> : %@",str);
        [array addObject:str];
        NSLog(@"name is->>>>>>> : %@",array);

}


2012-02-29 14:24:20.256 ContactTesting[564:f803] name is->>>>>>> : (
    "\n        Enrico Gaetani",
    "\n        J\U00e9r\U00f4me Tredan",
    "\n        Mike Tsalidis",
    "\n        Dana Sugarman",
    "\n        Necip Ozyucel",
    "\n        Goksel Topbas",
    "\n        Nizar Abdul-Baki",
    "\n        Johannes Kanis",
    "\n        Kara Westhusing",
    "\n        Andreas Erlacher",
    "\n        Rudy Van Hoe",
    "\n        Lars Nygaard",
    "\n        Juha Karppinen",
    "\n        Ronan Geraghty",
    "\n        Luca Venturelli",

for this i have implemented tableView code as shown in the below it showing

Couldn’t register com.fitzgerald.-ContactTesting.ContactTesting with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.(gdb)

  • (void)viewDidLoad
    {

    myTableView.delegate=self;
    myTableView.dataSource=self;
    myTableView.separatorStyle= UITableViewCellSeparatorStyleNone;

    myTableView.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@”list.png”]];
    myTableView.scrollEnabled=YES;
    array=[NSMutableArray alloc];

    [super viewDidLoad];

    [self testing];
    // Do any additional setup after loading the view, typically from a nib.
    }

  • (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
    }

  • (NSInteger)tableView:(UITableView *)table numberOfRowsInSection:(NSInteger)section {
    return [array count];
    }

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{

static NSString *CellIdentifier = @"Cell";
//here you check for PreCreated cell.
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
    cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
}

//Fill the cells...  
cell.textLabel.text = [array objectAtIndex: indexPath.row];
//yourMutableArray is Array 
return cell;

}

-(void)testing{
// NSLog(@”>>>>>>>>>>>>233333″);

NSString *jobSearchUrlString = [NSString stringWithFormat:@"http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Contacts"];
//NSLog(@"url for new articles is = %@",jobSearchUrlString);
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:jobSearchUrlString]];   

NSURLConnection *theconnection =  [[NSURLConnection alloc] initWithRequest:request delegate:self];
if (theconnection) {
    RoutData = [[NSMutableData alloc] init];
}

}

-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
{

[RoutData setLength: 0];

}
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
[RoutData appendData:data];

NSString *thexml = [[NSString alloc] initWithData:RoutData encoding:NSUTF8StringEncoding];

NSDictionary *dictXML= [XMLReader dictionaryForXMLString:thexml error:nil];

NSMutableArray *arrStation = [[dictXML objectForKey:@"feed"] objectForKey:@"entry"] ;//this would return the array of station dictionaries

// for (int i=0; i<[arrStation count]; i++) {
// NSLog(@”—>>>ContactNameis:<<<—- %@”,[[[[[arrStation objectAtIndex:i] objectForKey:@”content”] objectForKey:@”m:properties”] objectForKey:@”d:ContactName”] objectForKey:@”text”]);

    array=[[NSMutableArray alloc]init];
    for (int i=0; i<[arrStation count]; i++){
        NSString *str=[[[[[arrStation objectAtIndex:i] objectForKey:@"content"]   objectForKey:@"m:properties"] objectForKey:@"d:ContactName"] objectForKey:@"text"];
      //  NSlog(@"name is : %@",str);
        //NSLog(@"name is->>>>>>> : %@",str);
        [array addObject:str];
        NSLog(@"name is->>>>>>> : %@",array);

               }
  • 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-05-30T14:33:05+00:00Added an answer on May 30, 2026 at 2:33 pm

    Try quitting and restarting the simulator , this usually solves the problem. If the problem still persists, refer this link… iPhone – strange error when testing on simulator

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

Sidebar

Related Questions

We all know that wordpress have simple .htaccess code like below RewriteEngine on RewriteBase
i have implemented keylistener interface and implemented all the needed methods but when i
I would like to implement a bidirectional fifo. The code below is functioning but
I have a Collection View Source (CVS) implemented much like you see in MSDN
I have implemented VirtualPathProvider class so I can keep all my views in the
Backgroup: We are looking at SAS BI Dashboard. We have currently implemented almost all
I'd like to have one interface for all my grid related tasks.The tasks implement
I am using the below statement with the intent of getting all of the
I found some code from the msdn site (Code included below), which looks like
Possible Duplicate: How does Facebook Sharer select Images? I have implemented the Facebook Like

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.