Crash trying to create Webarchive
Crash trying to create Webarchive
- Subject: Crash trying to create Webarchive
- From: Reza Farhad <email@hidden>
- Date: Mon, 19 Jan 2009 23:30:29 +0000
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.
Thanks in advance
Reza
_______________________________________________
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