Re: Crash trying to create Webarchive
Re: Crash trying to create Webarchive
- Subject: Re: Crash trying to create Webarchive
- From: Corbin Dunn <email@hidden>
- Date: Mon, 19 Jan 2009 16:52:24 -0800
On Jan 19, 2009, at 3:30 PM, Reza Farhad wrote:
Dear All
I am trying to get a WebArchive from a webview:
[[[webView mainFrame] dataSource] webArchive]
For some pages I get the following Exception
NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- *** -[NSCFArray
insertObject:atIndex:]: attempt to insert nil
Now is there a way to be able to detect this and hence react to it
so that the app does not crash.
Break on objc_exception_throw. Investigate from there...
corbin
_______________________________________________
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