Odd notification / NSCFDictionary error
Chad Armstrong
edenwaith at mac.com
Fri Dec 7 13:49:17 PST 2007
>> 2007-12-06 12:20:30.943 MyApp[21317] Exception raised during posting
>> of notification. Ignored. exception: *** -[NSCFDictionary
>> setObject:forKey:]: attempt to insert nil value
>> 2007-12-06 12:21:45.765 MyApp[21317] Failed to load
>> NSSystemInfoPanel.nib
>
> What does the 'lsof' command say?
I have also been using lsof, and I'm not finding anything that looks
too suspicious. I when I run it, I see the file that is being worked
on currently, but no mention of older files at all.
I'll check again, however, just to double-check.
>
> Do you have a NSAutoreleasePool inside (not around) your loop, and do
> you release it?
Yes, there is an NSAutoreleasePool that is used in the code (to
capture output coming from the NSTask), but I explicitly call a [pool
release] at the end of the method that uses the NSAutoreleasePool.
- Chad
More information about the MacOSX-dev
mailing list