Re: Bug Report: Stack overflow when merging pdfs with certain characteristics

2025-01-24 Thread Tilman Hausherr
Hi, Your JIRA account has been approved. You can post that text there and also upload files that show the problem. Make sure you're using the latest PDFBox versions. Tilman On 24.01.2025 19:35, Ryan McKay wrote: Hi, I tried to get an ASF Jira account to report this, but I got rejected, and it

Re: Bug report

2023-09-27 Thread Morten Stulen
Thanks for the help! :) ᐧ On Tue, Sep 26, 2023 at 7:59 PM Tilman Hausherr wrote: > On 26.09.2023 11:49, Morten Stulen wrote: > > > > If the PDFBox 3 validation is correct, what is required to fix the > > validation for XRef? > > > save your file like this: > > > doc.save(file, CompressParamet

Re: Bug report

2023-09-26 Thread Tilman Hausherr
On 26.09.2023 11:49, Morten Stulen wrote: If the PDFBox 3 validation is correct, what is required to fix the validation for XRef? save your file like this: doc.save(file, CompressParameters.NO_COMPRESSION); I have added this to the migration page, it will be in the next website update. (

Re: Bug report

2023-09-26 Thread Morten Stulen
Sorry, correct link to PDF generation: link ᐧ On Tue, Sep 26, 2023 at 11:49 AM Morten St

Re: Bug report

2023-09-26 Thread Morten Stulen
You're right, the same validation error occurs in 2.0.29 for that PDF. It seems to me that the generation of the PDF differs from v2 to v3 (?). I tried just creating a simple page for each, and only PDFBox 3 gives me the ", /XRef cross reference streams are not allowed". See code snippets below. P

Re: Bug report

2023-09-22 Thread Tilman Hausherr
I get the same "error" with 2.0.29. Tilman On 20.09.2023 17:00, Morten Stulen wrote: After upgrading to PDFBox 3, the PreflightParser.validate() function returns an error. "Trailer Syntax error, /XRef cross reference streams are not allowed" Code: fun isValid(bytes: ByteArray): Boolean {

Re: Bug report

2023-09-22 Thread Tilman Hausherr
Thank you. I've reported the bug to VeraPDF. https://github.com/veraPDF/veraPDF-library/issues/1375 Tilman On 23.09.2023 01:42, Marc Kaufman wrote: Here is what Actobat says: PDF/A-1a: https://www.dropbox.com/scl/fi/2wg6t7dm0ub2j8elnk24y/soknadskvittering_report_A-1a.pdf?rlkey=47y0vrv8233o0y5

Re: Bug report

2023-09-22 Thread Marc Kaufman
Here is what Actobat says: PDF/A-1a: https://www.dropbox.com/scl/fi/2wg6t7dm0ub2j8elnk24y/soknadskvittering_report_A-1a.pdf?rlkey=47y0vrv8233o0y5unbhxmp6u0&dl=0 PDF/A-1b: https://www.dropbox.com/scl/fi/2ri9nfshthgvfy4tyixjz/soknadskvittering_report_A-1b_report.pdf?rlkey=oan9xspcqpm5b9c434e80v

Re: Bug report

2023-09-22 Thread Tilman Hausherr
I tested the file with a 3 month old VeraPDF and that one said the file is fine. Some online checkers also said the file is fine (I assume these all have some other product under the hood). Tilman On 22.09.2023 17:28, sahy...@fileaffairs.de wrote: Hello Morten, the file uses a cross referenc

Re: Bug report

2023-09-22 Thread sahy...@fileaffairs.de
Hello Morten, the file uses a cross reference stream and as such this is not PDF/A-1 compliant. BR Maruan Am Freitag, dem 22.09.2023 um 14:29 +0200 schrieb Morten Stulen: > This email went to the spam folder so I didn't see it before now. > > Here's a link to an example PDF we generate: > https

Re: Bug report

2023-09-22 Thread Morten Stulen
This email went to the spam folder so I didn't see it before now. Here's a link to an example PDF we generate: https://drive.google.com/file/d/1vNbfQyWNyJq_mGNPYF9a3CI0X9K9CDSQ/view?usp=sharing Morten ᐧ On Wed, Sep 20, 2023 at 6:48 PM Tilman Hausherr wrote: > Please upload your PDF somewhere

Re: Bug report

2023-09-20 Thread Tilman Hausherr
Please upload your PDF somewhere and link to it. If there is really a cross reference stream, then the error message is correct (and 2.0.29 is at fault), because that is a PDF 1.5 feature and PDF/A-1b is based on 1.4. Tilman On 20.09.2023 17:00, Morten Stulen wrote: After upgrading to PDFB

Re: Bug report

2014-03-25 Thread Maruan Sahyoun
Hi Walter, if possible could you attach the file to PDFBOX-1512. We could use it to generate some test data. BR Maruan Am 25.03.2014 um 21:45 schrieb Tilman Hausherr : > Hi Walter, > > This is known :-( > https://issues.apache.org/jira/browse/PDFBOX-1512 > > Sadly we don't have a solution ye

Re: bug report for v1.6.0

2012-12-27 Thread Andreas Lehmkuehler
Hi this issue is solved in the current trunk, see [1] for further details. BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-1481 Am 09.05.2012 20:15, schrieb 叶严杰: ..url for the pdf file: http://www.aclweb.org/anthology-new/P/P02/P02-1046.pdf On Thu, May 10, 2012 at 1:26

Re: Bug Report: java.lang.IllegalArgumentException from ExtractText

2012-10-24 Thread Leleu Eric
Hi, I have tried your command with the given PDF, the extraction succeeded on my environment. I'm under a Fedora with an OpenJDK (version 1.6.0_22 64Bits) Could you give us some details about the configuration of your environment? Best regards, Eric 2012/10/19 Peter Williams > Hi, > > Your w

Re: bug report for v1.6.0

2012-05-09 Thread 叶严杰
..url for the pdf file: http://www.aclweb.org/anthology-new/P/P02/P02-1046.pdf On Thu, May 10, 2012 at 1:26 AM, 叶严杰 wrote: > I tried to get text from a pdf with pdfbox by striper.getText. (see code > attached below) > the pdf is attached as file. And bug info attached below. > anyway to solve th