Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

Last post 02-24-2009, 11:09 PM by Felix.Liu. 5 replies.
Sort Posts: Previous Next
  •  01-23-2009, 1:11 PM 161766

    Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Attachment: Present (inaccessible)
    I work on an application that uses Aspose.Pdf.Kit 3.3.0.0 for .NET to extract information from PDF files.
    We have found that Aspose is throwing exceptions processing several PDF files from one of our clients.

    Some of the files cause the PdfContentEditor.ExctractLink method to throw a NullReferenceException.
    Some of the files cause the same method to throw an IOException with the message "Invalid pdf format:pdf head signature is not found".
    One of the files causes the constructor for PdfFileInfo (the version that takes only a filename) to throw an ArgumentException with the message "Too long object name!"

    All of the PDF files appear valid when viewed with Adobe Reader.  They are attached.

    Please let me know if there is a work around for these problems or if a fix is forthcoming.
    Thanks.
     
  •  01-23-2009, 1:50 PM 161777 in reply to 161766

    Re: Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Hi,

    I've tested the scenario and I am able to notice the problem while Extracting Links from Pdf files, except for Pdf in "ArgumentException.Zip". I am unable to notice the problem with this file.

    Whereas concerning to rest of the files, we are looking into the details of this problem, and will keep you updated with the status of correction.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  01-23-2009, 2:25 PM 161782 in reply to 161777

    Re: Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Thank you for your quick reply.

    Regarding the ArgumentException file, note that the issue is reproduced differently than the other two issues.  To reproduce that issue, you need to pass the filename to the PdfFileInfo constructor.  The constructor then throws the ArgumentException.  I'm not sure if I made that clear in my initial post.  From your response it sounds like you were just calling ExtractLink for each issue.

    Thanks again.
     
  •  01-23-2009, 11:41 PM 161816 in reply to 161782

    Re: Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Hi,

     

    I’ve tested the scenario using PdfFileInfo and I am also able to notice the issue with pdf in  ArgumentException.zip” file. Please spare us little time, as we are looking into the details of this problem.

     

    Your patience in this regard is highly appreciated.

     


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  02-12-2009, 9:55 PM 165026 in reply to 161816

    Re: Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Hi,

    Thanks for your reporting the problem and providing us the sample pdfs. 

    The issue of "ArgumentException" has been resolved. Please inform us if you need that fix separately.

    As for the issue with extracting links, it had been logged as PDFKITNET-7530 in our issue tracking system, and we will try to resolve it ASAP. 

    Thanks,


    Felix Liu
    Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  02-24-2009, 11:09 PM 166809 in reply to 165026

    Re: Exceptions thrown by PdfContentEditor.ExtractLink and PdfFileInfo constructor

    Hi,

    The issue PDFKITNET-7530 has been resolved. Please follow this link to download the beta version 3.3.1.6 (the attachment in my latest reply) and try it.

    Thanks,


    Felix Liu
    Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML