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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:14:32+00:00 2026-06-08T03:14:32+00:00

I am seeing this error when I load a window from a NIB. The

  • 0

I am seeing this error when I load a window from a NIB. The error appears deep in Apple code. My loading code all executes correctly and when it is running all the outlets are set up correctly.

Cannot create BOOL from object <NSWindow: 0x7f883b44f770> of class NSWindow

Here is the code thats being called

- (void)awakeFromNib{    
    [self showLoginSheet];
}

- (void)showLoginSheet
// User has asked to see the custom display. Display it.
{
    if (!self.loginSheet)
        [NSBundle loadNibNamed:@"LoginSheet" owner:self];
        //Check the myCustomSheet instance variable to make sure the custom sheet does not already exist

    [NSApp beginSheet: self.loginSheet
       modalForWindow: [[NSApp delegate] window]
        modalDelegate: self
       didEndSelector: NULL
          contextInfo: NULL];
}

And the stacktrace is

2012-07-21 21:09:57.575 MingleLookBooks[15934:503] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot create BOOL from object <NSWindow: 0x7f883b44f770> of class NSWindow'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff91305f56 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff874b9d5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff91305d8a +[NSException raise:format:arguments:] + 106
    3   AppKit                              0x00007fff9038a394 _NSBoolFromValue + 421
    4   AppKit                              0x00007fff903b1c5a -[NSEditableBinder hiddenState] + 83
    5   AppKit                              0x00007fff903b1bdf -[NSEditableBinder _hiddenStateWithMode:] + 41
    6   AppKit                              0x00007fff90389eaa -[NSEditableBinder _setStatesImmediatelyInObject:mode:triggerRedisplay:] + 579
    7   AppKit                              0x00007fff90389c60 -[NSEditableBinder _observeValueForKeyPath:ofObject:context:] + 123
    8   AppKit                              0x00007fff901a1643 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 591
    9   AppKit                              0x00007fff9019a959 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1079
    10  AppKit                              0x00007fff90190f73 loadNib + 322
    11  AppKit                              0x00007fff90190470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
    12  AppKit                              0x00007fff9019038b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
    13  AppKit                              0x00007fff901902ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
    14  MingleLookBooks                     0x000000010ef0917a -[AppController showLoginSheet] + 138
    15  MingleLookBooks                     0x000000010ef08ffb -[AppController awakeFromNib] + 43
    16  CoreFoundation                      0x00007fff912fcfb1 -[NSObject performSelector:] + 49
    17  CoreFoundation                      0x00007fff912fcf32 -[NSSet makeObjectsPerformSelector:] + 274
    18  AppKit                              0x00007fff9019a9ff -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
    19  AppKit                              0x00007fff90190f73 loadNib + 322
    20  AppKit                              0x00007fff90190470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
    21  AppKit                              0x00007fff9019038b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
    22  AppKit                              0x00007fff901902ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
    23  AppKit                              0x00007fff9040106f NSApplicationMain + 398
    24  MingleLookBooks                     0x000000010ef08f32 main + 34
    25  MingleLookBooks                     0x000000010ef08f04 start + 52
)
terminate called throwing an exception(lldb) 

As you can see from the stack trace, this seems to be nothing to do with my code. What am I doing wrong? I have no clue and the other answers to similar questions are not really helping.

  • 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-08T03:14:33+00:00Added an answer on June 8, 2026 at 3:14 am

    It looks like one of your bindings is set up incorrectly in your XIB.

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

Sidebar

Related Questions

I'm loading a bitmap into an ImageView, and seeing this error. I gather this
I'm trying to run a Java Jetty application and I keep seeing this error:
I'm seeing this in the Debugger Console: <Error>: CGImageSourceGetType image source parameter is nil\n
Kept on seeing this pattern in code, but couldn't find any reference to it
I'm seeing this exception message coming from XslCompiledTransform.Transform(), but after handling the exception the
I'm currently seeing this error: MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Could not
Looking at my Elmah error logs, I am seeing a few InvalidOperationException s from
I am using PyMySQL-0.5.0 and facing an obscure'ish error/exception when loading data from a
I am seeing this error intermittently. My app throws PageRequestManager is undefined and so
I deployed an update to my ASP.NET application and started seeing this error on

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.