[PR] Guard Filter.decode against empty filterList [pdfbox]

2024-02-01 Thread via GitHub
pingpingy1 opened a new pull request, #178: URL: https://github.com/apache/pdfbox/pull/178 If an empty list is provided to the `Filter.decode` static method, then a `NullPointerException` is thrown just before the return statement, where `randomAccessWriteBuffer` has not been set. The er

Re: [PR] NPE caused by undefined object [pdfbox]

2024-02-01 Thread via GitHub
Trisia commented on PR #177: URL: https://github.com/apache/pdfbox/pull/177#issuecomment-1922603489 for some reason, I can't provide tThe issue occurred with PDFBox 3.0.0, and I haven't tested it with 2.X.X. In fact, the PDF is encrypted and doesn't allow editing. I'm sorry, but for certain

[jira] [Updated] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Axel Howind updated PDFBOX-5758: Labels: patch (was: ) > ExceptionInInitializerError when unmapping is not supported > ---

[jira] [Updated] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Axel Howind updated PDFBOX-5758: Attachment: PDFBOX-5758__ExceptionInInitializerError_when_unmapping_is_not_supported-1.patch > Ex

[jira] [Updated] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Axel Howind updated PDFBOX-5758: Attachment: (was: PDFBOX-5758__ExceptionInInitializerError_when_unmapping_is_not_supported-1.p

[jira] [Commented] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813418#comment-17813418 ] Axel Howind commented on PDFBOX-5758: - The solution is simple: move the Logger to th

[jira] [Updated] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Axel Howind updated PDFBOX-5758: Attachment: PDFBOX-5758__ExceptionInInitializerError_when_unmapping_is_not_supported.patch > Exce

[jira] [Created] (PDFBOX-5758) ExceptionInInitializerError when unmapping is not supported

2024-02-01 Thread Axel Howind (Jira)
Axel Howind created PDFBOX-5758: --- Summary: ExceptionInInitializerError when unmapping is not supported Key: PDFBOX-5758 URL: https://issues.apache.org/jira/browse/PDFBOX-5758 Project: PDFBox I

Jenkins build is back to normal : PDFBox » PDFBox-Trunk-jdk21 #961

2024-02-01 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org

Jenkins build is back to normal : PDFBox » PDFBox-Trunk-jdk21 » Apache PDFBox #961

2024-02-01 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h..

[jira] [Resolved] (PDFBOX-5757) streamCacheCreateFunction not passed to PDFParser

2024-02-01 Thread Tilman Hausherr (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr resolved PDFBOX-5757. - Resolution: Fixed > streamCacheCreateFunction not passed to PDFParser >

[jira] [Commented] (PDFBOX-5757) streamCacheCreateFunction not passed to PDFParser

2024-02-01 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813267#comment-17813267 ] ASF subversion and git services commented on PDFBOX-5757: - Commi

[jira] [Updated] (PDFBOX-5757) streamCacheCreateFunction not passed to PDFParser

2024-02-01 Thread Tilman Hausherr (Jira)
[ https://issues.apache.org/jira/browse/PDFBOX-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-5757: Labels: regression (was: ) > streamCacheCreateFunction not passed to PDFParser >

[jira] [Created] (PDFBOX-5757) streamCacheCreateFunction not passed to PDFParser

2024-02-01 Thread Tilman Hausherr (Jira)
Tilman Hausherr created PDFBOX-5757: --- Summary: streamCacheCreateFunction not passed to PDFParser Key: PDFBOX-5757 URL: https://issues.apache.org/jira/browse/PDFBOX-5757 Project: PDFBox Issu

Re: [PR] NPE caused by undefined object [pdfbox]

2024-02-01 Thread via GitHub
THausherr commented on PR #177: URL: https://github.com/apache/pdfbox/pull/177#issuecomment-1921258758 Does this problem also occur with 2.0? Does it also occur in ordinary saving? Can you share the file? -- This is an automated message from the Apache Git Service. To respond to the messa

Re: Question

2024-02-01 Thread Tilman Hausherr
Hello Suresh, Did everything existing vanish? In that case, look at the parameters in PageContentStream so that you use append. Use the 5-parameters constructor. Are you unsatisfied with the shape? Then create a different shape than a rectangle and fill that one. If it still doesn't work, p

Question

2024-02-01 Thread suresh sakhavarapu
Hi Officer, I am trying to insert a black rectangle box of a certain size into a pdf document. It is overriding at the right position, but it also erases the rest of the content in the page. Is it possible to override partial content of a page. -- Regards, Venkata Suresh Implementation Enginee

[PR] NPE caused by undefined object [pdfbox]

2024-02-01 Thread via GitHub
Trisia opened a new pull request, #177: URL: https://github.com/apache/pdfbox/pull/177 example: ``` 125 0 obj <>/Contents[69 0 R 3646 0 R 70 0 R]/Type/Page/QITE_pageid<>/Resources<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]/Font<>>>/Parent 82 0 R/StructParents 5/MediaBox[0 0