You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Andreas Lehmkuehler <an...@lehmi.de> on 2013/04/22 19:53:55 UTC

Re: pdfbox throw the exception when read the blank page from pdf file.

Hi,

Am 22.04.2013 19:20, schrieb Ruhong Cai:
>
> Please try the attached file, It is easy to reproduce, PDFBOX throw the NuLL pointer exception when read in the pdf file which has blank page,
Your file didn't make it due to restrictions to the mailing list. Please put
the pdf to a share hoster or something similar so that we can download it.

> When org.apache.pdfbox.util . PDFStreamEngine.processStream() process the blank page, it throw the exception.
Please post the stack trace and some information about your environment, like
PDFBox version, Java Version, OS etc.

> Thanks!
>
> Ruhong

BR
Andreas Lehmkühler


Re: pdfbox throw the exception when read the blank page from pdf file.

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,

Am 22.04.2013 20:56, schrieb Ruhong Cai:
> (1)https://s3.amazonaws.com/downloads.smartbear/test-blank-page3.pdf
> (2)We did not get the stack trace, got the null pointer exception, windows 7, java 1.6
Which PDFBox version? Rendering and text extraction works fine starting with
PDFBox 1.2.1 up to the most recent version 1.8.1. What exactly did you do?

> -----Original Message-----
> From: Andreas Lehmkuehler [mailto:andreas@lehmi.de]
> Sent: Monday, April 22, 2013 10:54 AM
> To: users@pdfbox.apache.org
> Subject: Re: pdfbox throw the exception when read the blank page from pdf file.
>
> Hi,
>
> Am 22.04.2013 19:20, schrieb Ruhong Cai:
>>
>> Please try the attached file, It is easy to reproduce, PDFBOX throw
>> the NuLL pointer exception when read in the pdf file which has blank
>> page,
> Your file didn't make it due to restrictions to the mailing list. Please put the pdf to a share hoster or something similar so that we can download it.
>
>> When org.apache.pdfbox.util . PDFStreamEngine.processStream() process the blank page, it throw the exception.
> Please post the stack trace and some information about your environment, like PDFBox version, Java Version, OS etc.
>
>> Thanks!
>>
>> Ruhong
>
> BR
> Andreas Lehmkühler

BR
Andreas Lehmkühler


RE: pdfbox throw the exception when read the blank page from pdf file.

Posted by Ruhong Cai <Ru...@smartbear.com>.
(1)https://s3.amazonaws.com/downloads.smartbear/test-blank-page3.pdf
(2)We did not get the stack trace, got the null pointer exception, windows 7, java 1.6

-----Original Message-----
From: Andreas Lehmkuehler [mailto:andreas@lehmi.de] 
Sent: Monday, April 22, 2013 10:54 AM
To: users@pdfbox.apache.org
Subject: Re: pdfbox throw the exception when read the blank page from pdf file.

Hi,

Am 22.04.2013 19:20, schrieb Ruhong Cai:
>
> Please try the attached file, It is easy to reproduce, PDFBOX throw 
> the NuLL pointer exception when read in the pdf file which has blank 
> page,
Your file didn't make it due to restrictions to the mailing list. Please put the pdf to a share hoster or something similar so that we can download it.

> When org.apache.pdfbox.util . PDFStreamEngine.processStream() process the blank page, it throw the exception.
Please post the stack trace and some information about your environment, like PDFBox version, Java Version, OS etc.

> Thanks!
>
> Ruhong

BR
Andreas Lehmkühler