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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:12:50+00:00 2026-05-28T11:12:50+00:00

While my application launches like normal and has no errors, when I attempt to

  • 0

While my application launches like normal and has no errors, when I attempt to click a button to show another view, the application closes.
On the debugger console, this is the the display:

"SEM2REDO[13487:b603] Application tried to push a nil view controller on target <UINavigationController: 0x4ea5be0>"

then the second time you click it, this appears, and then the application cancels.

2012-01-24 11:46:37.549 SEM2REDO[13591:b603] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/margueriteoquinn/Library/Application Support/iPhone Simulator/4.3/Applications/F2B86CC5-C700-414E-9030-17E94535EB1A/SEM2REDO.app> (loaded)' with name 'SelectView''
*** Call stack at first throw:
(
    0   CoreFoundation                      0x00dc95a9 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x00f1d313 objc_exception_throw + 44
    2   CoreFoundation                      0x00d81ef8 +[NSException raise:format:arguments:] + 136
    3   CoreFoundation                      0x00d81e6a +[NSException raise:format:] + 58
    4   UIKit                               0x004b40fa -[UINib instantiateWithOwner:options:] + 2024
    5   UIKit                               0x004b5ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
    6   UIKit                               0x0036b628 -[UIViewController _loadViewFromNibNamed:bundle:] + 70
    7   UIKit                               0x00369134 -[UIViewController loadView] + 120
    8   UIKit                               0x0036900e -[UIViewController view] + 56
    9   UIKit                               0x00367482 -[UIViewController contentScrollView] + 42
    10  UIKit                               0x00377f25 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 48
    11  UIKit                               0x00376555 -[UINavigationController _layoutViewController:] + 43
    12  UIKit                               0x00377870 -[UINavigationController _startTransition:fromViewController:toViewController:] + 524
    13  UIKit                               0x0037232a -[UINavigationController _startDeferredTransitionIfNeeded] + 266
    14  UIKit                               0x00379562 -[UINavigationController pushViewController:transition:forceImmediate:] + 932
    15  UIKit                               0x003721c4 -[UINavigationController pushViewController:animated:] + 62
    16  SEM2REDO                            0x00002590 -[SEM2REDOViewController chooseFirstMeeting:] + 252
    17  UIKit                               0x002b94fd -[UIApplication sendAction:to:from:forEvent:] + 119
    18  UIKit                               0x00349799 -[UIControl sendAction:to:forEvent:] + 67
    19  UIKit                               0x0034bc2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
    20  UIKit                               0x0034a7d8 -[UIControl touchesEnded:withEvent:] + 458
    21  UIKit                               0x002ddded -[UIWindow _sendTouchesForEvent:] + 567
    22  UIKit                               0x002bec37 -[UIApplication sendEvent:] + 447
    23  UIKit                               0x002c3f2e _UIApplicationHandleEvent + 7576
    24  GraphicsServices                    0x01721992 PurpleEventCallback + 1550
    25  CoreFoundation                      0x00daa944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
    26  CoreFoundation                      0x00d0acf7 __CFRunLoopDoSource1 + 215
    27  CoreFoundation                      0x00d07f83 __CFRunLoopRun + 979
    28  CoreFoundation                      0x00d07840 CFRunLoopRunSpecific + 208
    29  CoreFoundation                      0x00d07761 CFRunLoopRunInMode + 97
    30  GraphicsServices                    0x017201c4 GSEventRunModal + 217
    31  GraphicsServices                    0x01720289 GSEventRun + 115
    32  UIKit                               0x002c7c93 UIApplicationMain + 1160
    33  SEM2REDO                            0x00001a70 main + 102
    34  SEM2REDO                            0x00001a01 start + 53
)
terminate called throwing an exception

I have no idea what this means, but I really need some help. Here is some helpful delegate method that I have implemented

@synthesize window;
@synthesize navController;


#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
    [self.window makeKeyAndVisible];

    SEM2REDOViewController  *firstController = [[SEM2REDOViewController alloc]
                                            initWithNibName:@"SEM2REDOViewController" bundle:nil];
    UINavigationController  *navigationController = [[UINavigationController alloc]
                                              initWithRootViewController:firstController];

    [self setNavController:navigationController];
    [window addSubview:[navigationController view]];

    [navigationController release];
    [firstController release];  

    return YES;

}

and this is the method in my SEM2REDOViewController to display the second view

- (IBAction)chooseFirstMeeting:(id)sender {     
    SelectRotationController *selectView = [[SelectRotationController alloc] 
                                            initWithNibName:@"SelectView" bundle:[NSBundle mainBundle]];
    [selectView.navigationItem setTitle:@"Select First Meeting"];
    [self.navigationController pushViewController:self.selectRotationController animated:YES];
    self.selectRotationController = selectView; 
    [selectView release];
}

I’m sorry if this is an easy question: I am a highschooler attempting to do an independent study on programming so ANY help is much appreciated.

  • 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-28T11:12:51+00:00Added an answer on May 28, 2026 at 11:12 am
     [self.window makeKeyAndVisible];
    
    SEM2REDOViewController *firstController = [[SEM2REDOViewController alloc] initWithNibName:@"SEM2REDOViewController" bundle:nil]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:firstController];
    
    [self setNavController:navigationController];
     [window addSubview:[navigationController view]];
    
    [navigationController release]; [firstController release];
    
    return YES;
    

    Change it to

    SEM2REDOViewController *firstController = [[[SEM2REDOViewController alloc] initWithNibName:@"SEM2REDOViewController" bundle:nil] autorelease];
     self.navigationController = [[[UINavigationController alloc]initWithRootViewController: firstController]autorelease];
    
     [window addSubview:self.navigationController.view];
    
     [self.window makeKeyAndVisible];
    return YES;
    

    This will do solve your issue..if you have any problem understanding something let me know.

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

Sidebar

Related Questions

I want a splash screen to show while the application is loading. I have
I'd like to display splash screen while the application is loading. However some 3rd
I am developing an application which loads video while the application launches. I observe
I get a communication link failure while application tries to establish a connection with
If while an application is running one of the shared libraries it uses is
Keeping the GUI responsive while the application does some CPU-heavy processing is one of
I am using Struts application while running welcome page is run successfully after that
Unlike this question: Linker Error while building application using Boost Asio in Visual Studio
How can i stop the host machine entering standby mode while my application is
I am looking for some guideline for my new application while choosing ORM. I

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.