Re: NSImage Crash

2008-07-11 Thread parag vibhute
It is strange that this type of error can occur in Mac for widely used class NSImage, I am not able to find out root cause of this problem. Afterwards when I run same app, it run successfully. I am not sure how am I going to explain this to my client... Thanks, Parag On 7/11/08, Mike Abdullah <[E

Re: NSImage Crash

2008-07-11 Thread Mike Abdullah
Core Foundation is crashing trying to read in a bundle's info.plist. I've seen this happen with our own app a few times but am yet to track it down. Presumably, some bundle somewhere has a corrupted info.plist file. Even so, if you can find the culprit, it should not be crashing Core Founda

NSImage Crash

2008-07-11 Thread parag vibhute
Hi all, Following is the statement in my code NSImage *img = [[[NSImage alloc] initWithContentsOfFile:[[NSBundle bundleForClass:[self class]] pathForImageResource:@"testicon"]] autorelease]; Here testicon is Apple Icon Image file i.e. its extension is .icns This application was running fine f