Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: orderFrontStandardAboutPanel problem on Tiger - [NSCFDictionary setObject:forKey:]: attempt to insert nil value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: orderFrontStandardAboutPanel problem on Tiger - [NSCFDictionary setObject:forKey:]: attempt to insert nil value



On Mon, Jun 1, 2009 at 7:29 AM, Chris Jones <email@hidden> wrote:

> The error is: [NSCFDictionary setObject:forKey:]: attempt to insert nil
> value. And the StandardAboutPanel does not appear.

[...]

> I don't think it could get more simple, but I can't see where I'm passing a
> nil value. I thought this was related to a missing piece of info in
> info.plist, but all required fields seem to be present.

Set a breakpoint on -[NSCFDictionary setObject:forKey:] and a
condition for when the object parameter is nil. (The specific
condition is going to depend upon what architecture you are debugging
in.)

When you stop there, examine the value for the key. Hopefully at that
point the problem is obvious.

- Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >orderFrontStandardAboutPanel problem on Tiger - [NSCFDictionary setObject:forKey:]: attempt to insert nil value (From: Chris Jones <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.