Re: Error on PDDocument.load

2015-03-27 Thread Kevin Morin
Hi guys, thanks a lot for fixing this :D BR Kevin On 20/03/2015 15:59, Kevin Morin wrote: HI, a little up ;) Have a nice weekend. BR Kevin On 02/03/2015 16:19, Kevin Morin wrote: Hi, Andreas, you said in the issue that you have a solution in mind, did you succeed in fixing it or not? It

Re: Error on PDDocument.load

2015-03-20 Thread Kevin Morin
HI, a little up ;) Have a nice weekend. BR Kevin On 02/03/2015 16:19, Kevin Morin wrote: Hi, Andreas, you said in the issue that you have a solution in mind, did you succeed in fixing it or not? It seems that my users have a lot of files of this kind... Thanks BR Kevin On 11/02/2015 23:16

Re: Error on PDDocument.load

2015-03-02 Thread Kevin Morin
Hi, Andreas, you said in the issue that you have a solution in mind, did you succeed in fixing it or not? It seems that my users have a lot of files of this kind... Thanks BR Kevin On 11/02/2015 23:16, Tilman Hausherr wrote: I wasn't able to create a non confidential version of the file th

Re: Error on PDDocument.load

2015-02-11 Thread John Hewson
Hmm, if it doesn’t render in Acrobat we probably shouldn’t render it either... -- John > On 11 Feb 2015, at 14:16, Tilman Hausherr wrote: > > I wasn't able to create a non confidential version of the file that works > with Adobe Reader. But here's an issue and a proposed patch. > > https://is

Re: Error on PDDocument.load

2015-02-11 Thread Tilman Hausherr
I wasn't able to create a non confidential version of the file that works with Adobe Reader. But here's an issue and a proposed patch. https://issues.apache.org/jira/browse/PDFBOX-2679 Tilman Am 11.02.2015 um 18:54 schrieb Tilman Hausherr: No, his file is confidential. However we might creat

Re: Error on PDDocument.load

2015-02-11 Thread Tilman Hausherr
No, his file is confidential. However we might create a non confidential file that has the same error. Tilman Am 11.02.2015 um 18:40 schrieb John Hewson: Can we get a JIRA issue open for this, preferably with the file attached? -- John On 11 Feb 2015, at 00:29, Tilman Hausherr wrote: Yes,

Re: Error on PDDocument.load

2015-02-11 Thread John Hewson
Can we get a JIRA issue open for this, preferably with the file attached? -- John > On 11 Feb 2015, at 00:29, Tilman Hausherr wrote: > > Yes, they made hacks. So did we, for many types of malformed files. Please > send the file also to Andreas, unless you already did, he did many > workaround

Re: Error on PDDocument.load

2015-02-11 Thread Tilman Hausherr
Yes, they made hacks. So did we, for many types of malformed files. Please send the file also to Andreas, unless you already did, he did many workarounds for malformed files. Tilman Am 11.02.2015 um 09:05 schrieb Kevin Morin: Ok. Why other softwares are able to open it (like xpf)? I guess they

Re: Error on PDDocument.load

2015-02-11 Thread Kevin Morin
Ok. Why other softwares are able to open it (like xpf)? I guess they made a hack to fix this? Are you going to do something too? Thanks BR Kevin On 11/02/2015 08:53, Tilman Hausherr wrote: Hi, I can reproduce the error. Your file is malformed. Please open it with NOTEPAD++ and go to the end:

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
Hi, I can reproduce the error. Your file is malformed. Please open it with NOTEPAD++ and go to the end: xref 1 7 00 65535 f 09 0 n 358745 0 n 358842 0 n 359029 0 n 359087 0 n 359138 0 n trailer The first number (1) means the number o

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
I meant, send me (tilman at snafu dot de) the file that makes trouble. Tilman Am 11.02.2015 um 08:24 schrieb Tilman Hausherr: You forgot the attachment Tilman Am 11.02.2015 um 08:21 schrieb Kevin Morin: Hi, I am sorry, it seems that I did not send you the right file... Actually, I was test

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
You forgot the attachment Tilman Am 11.02.2015 um 08:21 schrieb Kevin Morin: Hi, I am sorry, it seems that I did not send you the right file... Actually, I was testing the wrong file on linux from the begining also. The file is displaying blank also on linux and on java 7 or 8... Here is th

Re: Error on PDDocument.load

2015-02-10 Thread Kevin Morin
Hi, I am sorry, it seems that I did not send you the right file... Actually, I was testing the wrong file on linux from the begining also. The file is displaying blank also on linux and on java 7 or 8... Here is the right file. I am sorry to make you work for nothing... BR Kevin On 10/02

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
So we e-mailed and the result is - you're really working on W2008 with the file that you sent me - you get the same error on W2008 with the app (and I don't) I have analysed that file and did some debug traces. If loading that on W2008 is a no-no, you'd have to build from source and I'll tell yo

Re: Error on PDDocument.load

2015-02-09 Thread Tilman Hausherr
If you can, please send me (tilman at snafu dot de) the file that makes trouble in W2008 only. Also make sure that you are using the latest 2.0 version. https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.0-SNAPSHOT/ we're now at version 1051, thus https://rep

Re: Error on PDDocument.load

2015-02-09 Thread Kevin Morin
Hi, I will probably have to migrate to java 8 because of a bug in java 7 which throws an error when rendering a certain type of PDF (cf thread Error on PDFRenderer.renderImage (PDFBox 2.0)). Could someone please check why it is not working on Windows Server 2008 R2 Standard? If you do not hav

Re: Error on PDDocument.load

2015-01-21 Thread Andreas Lehmkühler
Hi, > Kevin Morin hat am 21. Januar 2015 um 12:14 geschrieben: > > > I thought I was running java 7 but it's java 8... I tried with java 7 > and it works. I do not need it to work with java 8, java 7 is ok for me. It works for me using java 8 on win7 and linux as well. I guess, the issue has t

Re: Error on PDDocument.load

2015-01-21 Thread Kevin Morin
I thought I was running java 7 but it's java 8... I tried with java 7 and it works. I do not need it to work with java 8, java 7 is ok for me. Thanks for your help and for all your work. Kevin On 21/01/2015 11:54, Maruan Sahyoun wrote: Hi Kevin works for me - what's your Java Version? BR Ma

Re: Error on PDDocument.load

2015-01-21 Thread Maruan Sahyoun
Hi Kevin works for me - what's your Java Version? BR Maruan Am 21.01.2015 um 11:24 schrieb Kevin Morin : > Hi, > > it does not work with PDFToImage either, I still get a blank image. Plus, I > did not set the nonSeq option however it seems to be using the non sequential > parser. And I have

Re: Error on PDDocument.load

2015-01-21 Thread Kevin Morin
Hi, it does not work with PDFToImage either, I still get a blank image. Plus, I did not set the nonSeq option however it seems to be using the non sequential parser. And I have the following traces: janv. 21, 2015 11:20:02 AM org.apache.pdfbox.pdfparser.NonSequentialPDFParser ch eckXrefOffset

Re: Error on PDDocument.load

2015-01-21 Thread Maruan Sahyoun
Hi Kevin, you can test with the PDFToImage command [1] available in from the pdfbox-app [2] if the issue happens there. The source for PDFToImage is available in the tools section of the SVN repo or online viewable [3]. BR Maruan [1] https://pdfbox.apache.org/1.8/commandline.html#pdfToImage [2

Re: Error on PDDocument.load

2015-01-21 Thread Kevin Morin
Hi Andreas, I am using the latest snapshot available on the maven repository. And I am running my app on Windows Server 2008 R2 Standard and it does not work (white page). Could send me the code or a jar to test on this server to check if it does not come from my code? BR Kevin On 19/01/20

Re: Error on PDDocument.load

2015-01-19 Thread Andreas Lehmkuehler
Hi, Am 19.01.2015 um 12:45 schrieb Kevin Morin: Actually, the issue is not only these traces. The real issue is that I have a blank image when I try to render the document. I've checked your PDF and everything renders fine. I've tried SNAPSHOT-891 on linux (running java 1.8, 1.7 and 1.6) and t

Re: Error on PDDocument.load

2015-01-19 Thread Maruan Sahyoun
Hi Andreas, Kevin already sent it to me so I'll forward it to you. BR Maruan Am 19.01.2015 um 16:40 schrieb Andreas Lehmkühler : > Hi, > >> Maruan Sahyoun hat am 19. Januar 2015 um 14:50 >> geschrieben: >> >> >> Hi Kevin, >> >> let me check who will be looking into that so you could send i

Re: Error on PDDocument.load

2015-01-19 Thread Andreas Lehmkühler
Hi, > Maruan Sahyoun hat am 19. Januar 2015 um 14:50 > geschrieben: > > > Hi Kevin, > > let me check who will be looking into that so you could send it to that > person. Otherwise - if it's OK for you that I might be forwarding that to a > colleague - you can send it to me. Sounds like somethi

Re: Error on PDDocument.load

2015-01-19 Thread Maruan Sahyoun
Hi Kevin, let me check who will be looking into that so you could send it to that person. Otherwise - if it's OK for you that I might be forwarding that to a colleague - you can send it to me. BR Maruan Am 19.01.2015 um 12:54 schrieb Kevin Morin : > Hi Maruan, > > this is a document of a cl

Re: Error on PDDocument.load

2015-01-19 Thread Kevin Morin
Hi Maruan, this is a document of a client, so if I could only send it to one person in private, I would prefer it not to be too public. Best, Kevin On 19/01/2015 12:48, Maruan Sahyoun wrote: Hi Kevin, in order to look at it further would it be possible to get the pdf uploaded to a public

Re: Error on PDDocument.load

2015-01-19 Thread Maruan Sahyoun
Hi Kevin, in order to look at it further would it be possible to get the pdf uploaded to a public location? BR Maruan Am 19.01.2015 um 12:45 schrieb Kevin Morin : > Actually, the issue is not only these traces. The real issue is that I have a > blank image when I try to render the document. >

Re: Error on PDDocument.load

2015-01-19 Thread Kevin Morin
Actually, the issue is not only these traces. The real issue is that I have a blank image when I try to render the document. On 19/01/2015 12:39, Kevin Morin wrote: Hi, I am using the 2.0 snapshot version to images of pdfs, but on some documents, I have the following error when I call PDDocume

Error on PDDocument.load

2015-01-19 Thread Kevin Morin
Hi, I am using the 2.0 snapshot version to images of pdfs, but on some documents, I have the following error when I call PDDocument.load(file): 2015/01/19 12:32:48 ERROR (org.apache.pdfbox.pdfparser.NonSequentialPDFParser:1864) - Can't find the object 7 0 (origin offset 359138) 2015/01/19 12:3