pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: There was a problem when loading a pdf file to Adobe Acrobat. document(18)
Date Thu, 13 Apr 2017 06:09:57 GMT
I ran PDFDebugger command line application with your PDF file. There is 
a log window (click on the bottom right).

Alternatively, render the file programmatically.

Tilman

Am 13.04.2017 um 06:47 schrieb karthick g:
> Hi,
>
> Thanks for your support.  Based on your suggestion,  Now I moved to PDFBox
> latest version 2.0.5.
> Still I can not able to get the error on PDFParse.  Even I have set Lenient
> option of pdf parser to false,
> to catch the error. The file is parsing well and I can not able to get the
> error for malformed pdf. Can You send
> the code snippet or explain the way that how you got the error.
>
> Regards,
> karthick G
>
> On Thu, Apr 6, 2017 at 2:21 PM, karthick g <ikarthick2002@gmail.com> wrote:
>
>> Hi,
>>
>> Thanks for your support.  I am running PDFBox 1.8.2.
>>
>> I parsed the file with FileInputStream object.
>>
>>
>>
>>
>>
>>
>> *FileInputStream fs;        try {            fs = new
>> FileInputStream("/home/karthik/5.56.0/corrupt.pdf");
>> PDFParser pdfParser = new PDFParser(fs);            pdfParser.parse();*
>>
>>
>> Am not getting Unexpected object type exception as you mentioned. I parsed
>> in many ways I can not able to produce the exception as you got. It is
>> parsing fine for me, that is my problem.
>> Please let me know if you need more information
>>
>> Regards,
>> Karthick G
>>
>>
>>
>> On Mon, Apr 3, 2017 at 12:22 PM, karthick g <ikarthick2002@gmail.com>
>> wrote:
>>
>>> Hi team,
>>>
>>> These are the drop box links for the error pdf file.
>>>
>>> PDF File
>>> ---------------
>>> https://www.dropbox.com/s/hzkzfowl29b62fy/corrupt.pdf?dl=0
>>>
>>> Screen Shot when loading the PDF file
>>> ------------------------------------------------------
>>>
>>> https://www.dropbox.com/s/h9x5wad9dgwxnxt/pdf-error.png?dl=0
>>>
>>> Screen Shot when pressing the CTRL key
>>> -------------------------------------------------------------
>>>
>>> https://www.dropbox.com/s/qpkztacdfx6hwep/ctrl-key-error-pdf.png?dl=0
>>>
>>>   Please let me know if you need more information
>>>
>>> Regards,
>>> karthick G
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Mar 31, 2017 at 10:51 AM, karthick g <ikarthick2002@gmail.com>
>>> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> Apologies for sending the previous mail to developer team, Please guide
>>>> me
>>>>
>>>> *  There was a problem when loading a pdf file to Adobe Acrobat.
>>>>
>>>> *    "There was a problem reading this document (18) " (Error Shown by
>>>> acrobat)*
>>>> *  When running  the same file to the PDFBox it is working fine.
>>>>
>>>> *    Is their way to catch this document(18) error in pdfbox while
>>>> parse?*
>>>>
>>>>
>>>> Regards,
>>>> karthick
>>>>
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message