Problem with PDFDocument initWithURL method
Problem with PDFDocument initWithURL method
- Subject: Problem with PDFDocument initWithURL method
- From: JanakiRam <email@hidden>
- Date: Tue, 7 Aug 2007 07:50:26 +0530
Hi ALL,
I donno , whether it correctly points to this forum or not.
If not pls do point to correct place.
I'm using the PDFKit initWithURL to create the in memory
PDF Document. I'm providing a Servlet URL as an argument to
initWithURL method. My application crashes when the Servlet returns a
empty PDF Document. One more scenario , if my web server is down , in
that case also my app is crashing.
I've tried to create the in memory PDF Document using
PDFBox API ( Java based library ), its not crashing the app , instead
its returning NULL.
The Following is the crash log.
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907bcdb8 CFRelease + 92
1 com.apple.CoreGraphics 0x904274a0 CGDataProviderCreateWithURL + 160
2 com.apple.CoreGraphics 0x90643218 CGPDFDocumentCreateWithURL + 24
3 com.apple.PDFKit 0x964adb14 -[PDFDocument initWithURL:] + 136
Please let me know if you have any concern(s).
-JanakiRam.
_______________________________________________
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