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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:35:37+00:00 2026-05-22T22:35:37+00:00

I have encountered application termination while dismissing a modal view controller. -[NSCFString window]: unrecognized

  • 0

I have encountered application termination while dismissing a modal view controller.

-[NSCFString window]: unrecognized selector sent to instance 0x6337dc0
2011-06-03 13:26:37.980 Tuscany[19657:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString window]: unrecognized selector sent to instance 0x6337dc0'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x016ffbe9 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x018545c2 objc_exception_throw + 47
    2   CoreFoundation                      0x017016fb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
    3   CoreFoundation                      0x01671366 ___forwarding___ + 966
    4   CoreFoundation                      0x01670f22 _CF_forwarding_prep_0 + 50
    5   UIKit                               0x003f4024 -[UIViewController viewControllerForRotation] + 81
    6   UIKit                               0x003ee8ab -[UIViewController shouldWindowUseOnePartInterfaceRotationAnimation:] + 34
    7   UIKit                               0x00368dd5 -[UIWindow _clientsForRotation] + 350
    8   UIKit                               0x0036b87b -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 141
    9   UIKit                               0x005eb948 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 1053
    10  UIKit                               0x003f7682 -[UIViewController _dismissModalViewControllerWithTransition:from:] + 2075
    11  UIKit                               0x003f4324 -[UIViewController dismissModalViewControllerWithTransition:] + 579
    12  Foundation                          0x000c37f6 __NSFireDelayedPerform + 441
    13  CoreFoundation                      0x016e0fe3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
    14  CoreFoundation                      0x016e2594 __CFRunLoopDoTimer + 1220
    15  CoreFoundation                      0x0163ecc9 __CFRunLoopRun + 1817
    16  CoreFoundation                      0x0163e240 CFRunLoopRunSpecific + 208
    17  CoreFoundation                      0x0163e161 CFRunLoopRunInMode + 97
    18  GraphicsServices                    0x01d88268 GSEventRunModal + 217
    19  GraphicsServices                    0x01d8832d GSEventRun + 115
    20  UIKit                               0x0035342e UIApplicationMain + 1160
    21  Tuscany                             0x00002878 main + 102
    22  Tuscany                             0x00002809 start + 53
)
terminate called after throwing an instance of 'NSException'

Above is the crash log. Please help.
Thanks in advance.

  • 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-22T22:35:38+00:00Added an answer on May 22, 2026 at 10:35 pm

    From you log it seems that you are calling window on an NSCFString. NSCFString does not have a window selector, and the compiler would complain if you try and do so, so it is likely that you are sending that message to a deallocated object (imagine that a new object has been allocated where another one was previously), or you are messing with casts.

    In case you suspect that you are sending the message to a deallocated object, enable NSZombies.

    Without seeing the code, it is not possible to help you further, though.

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

Sidebar

Related Questions

I have encountered an error while debugging a VB.Net application in Visual Studio 2008.
I recently encountered an odd problem with RSACryptoServiceProvider.VerifyHash . I have a web application
I have encountered a problem in my application. I have two forms, one that
I have been optimising memory performance on a Windows Mobile application and have encountered
I am implementing instrumentation within an application and have encountered an issue where the
I have an application that draws 3-d map view marked up lines that show
I have encountered a rather odd error that I do not understand. I created
I have encountered odd behavior when using document.getElementById tonight. Duplicated in Firefox 3 and
I have encountered a problem that I have not come accross yet when setting
So far I have encountered adjacency list, nested sets and nested intervals as models

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.