Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Exception created with message ''
  FAQ FAQ  Forum Search   Register Register  Login Login

Exception created with message ''

 Post Reply Post Reply
Author
Message
waynefulcher View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Jun 08
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote waynefulcher Quote  Post ReplyReply Direct Link To This Post Topic: Exception created with message ''
    Posted: 21 Jul 11 at 9:54PM
I have a small application that simply loads a pdf and reads a text file and updates the pdf field values with values from the text file and saves the pdf back. I have a pdf that a customer created that is causing my application to produce the error message:
"Project <MyProject> raised exception class Exception with message ''. "
when I call the .LoadFromFile() method.
I am using Delphi 7 and I was using QuickPDF 7.19, when I got this error I decided to upgrade to 7.26 and now I still get the same error. All I do is create my QuickPDF component, call the unlock() method which is passing validation OK, then I call the .LoadFromFile() method. Once this error occurs my application is hosed even though I wrapped it in a try..except. In fact it does not even call the logic in my exception block and you only know there is an error if running in the Delphi IDE. I really think it must be something specific to this PDF because this app works great with other pdfs.
I am not sure how to get support for this issue. I would need to send the pdf file to someone who could try to see what in the pdf is causing QuickPDF to crash.
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 22 Jul 11 at 9:00AM
Make sure you are checking the return value from the LoadFromFile call.  If it doesn't return 1 then the file has not been correctly loaded.  

In this case it seems the PDF is malformed.  A malformed PDF is a PDF that has errors and does not conform to the PDF specification.  Unfortunately Adobe Acrobat fixes these errors and acts as if nothing is wrong with the file.

If you can upload the file or created a support case via 

   http://www.quickpdflibrary.com/support/support-query.php

then we can check the PDF to see what errors it contains.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store