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

Bug Report: Stack overflow when merging pdfs with certain characteristics

2025-01-24 Thread Ryan McKay
Hi, I tried to get an ASF Jira account to report this, but I got rejected, and it said to email you here instead. I have reliably encountered a stack overflow error in both 2.x and 3.x (library and CLI) when attempting to merge pdfs obtained by exporting from Google docs. Explicitly setting PDFmer

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

2024-06-24 Thread Tilman Hausherr
Hi, This was fixed on the same day in https://issues.apache.org/jira/browse/PDFBOX-5829 You can try a snapshot: https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.3-SNAPSHOT/ https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

2024-06-24 Thread Lucky Python
Hi Tilman, is this bug accepted? Any additional info needed? Thanks! On Sat, May 25, 2024 at 11:53 AM Lucky Python wrote: > Thanks for the reply! > > I'd expect PDFBox to gracefully handle it instead of crashing, kinda like > https://issues.apache.org/jira/browse/PDFBOX-3500. > > The example PDF

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

2024-05-25 Thread Lucky Python
Thanks for the reply! I'd expect PDFBox to gracefully handle it instead of crashing, kinda like https://issues.apache.org/jira/browse/PDFBOX-3500. The example PDF for reproducing the bug can be found here . O

Re: PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

2024-05-25 Thread Tilman Hausherr
Hi, Why do you think this is a bug, and what would you expect instead? Please upload your file to a sharehoster, attachments are blocked. Tilman On 25.05.2024 19:47, Lucky Python wrote: I'd like to report a bug. [Description] PDDocument.load(inputFile) crashes when parsing malformed ItalicA

PDFBox bug report: PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle

2024-05-25 Thread Lucky Python
Hi there, I'd like to report a bug. [Description] PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle. It is 100% reproducible with the attached PDF file as the inputFile parameter. [PDFBox versions] Reproduced with both PDFBox 2.0.27 & 2.0.31 [Stack trace] Exception in thread

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

Bug report

2023-09-20 Thread Morten Stulen
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 { val fileName = "tmp_${UUID.randomUUID()}.pdf" val file = File(fileName) val document =

Re: Bug report

2014-03-25 Thread Maruan Sahyoun
't have a solution yet. > > Tilman > > Am 25.03.2014 20:42, schrieb Walter Kehl: >> Hi, >> >> >> for the bug report below, I couldn’t send the PDF file as attachment, it was >> rejected by your mail program. If you need it, please let me know and I’l

Re: FW: Bug report

2014-03-25 Thread Tilman Hausherr
Hi Walter, This is known :-( https://issues.apache.org/jira/browse/PDFBOX-1512 Sadly we don't have a solution yet. Tilman Am 25.03.2014 20:42, schrieb Walter Kehl: Hi, for the bug report below, I couldn’t send the PDF file as attachment, it was rejected by your mail program. I

FW: Bug report

2014-03-25 Thread Walter Kehl
Hi, for the bug report below, I couldn’t send the PDF file as attachment, it was rejected by your mail program. If you need it, please let me know and I’ll send you a dropbox link. Best Walter Kehl From: Walter Kehl [mailto:walter.k...@outlook.com] Sent: Dienstag, 25. März 2014 20:35

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

Bug Report: java.lang.IllegalArgumentException from ExtractText

2012-10-20 Thread Peter Williams
Hi, Your web page seemed to say that bugs should be reported by emailing this address. Steps to Reproduce Download GAM-OptimalScaling2.pdf from http://www.math.vu.nl/sto/onderwijs/statlearn/GAM-OptimalScaling2.pdf java -jar pdfbox-app-1.7.1.jar ExtractText -sort GAM-OptimalScaling2.pdf GAM-Opt

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

bug report for v1.6.0

2012-05-09 Thread 叶严杰
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 this bug? regrads *Code* public void read() { PDDocument document = null; FileInputStream is = null; t