You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "james (Jira)" <ji...@apache.org> on 2024/10/31 20:12:00 UTC
[jira] [Comment Edited] (PDFBOX-5896) StackOverflowError in PDFieldFactory.findFieldType
[ https://issues.apache.org/jira/browse/PDFBOX-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894694#comment-17894694 ]
james edited comment on PDFBOX-5896 at 10/31/24 8:11 PM:
---------------------------------------------------------
Thanks for the suggestion. unfortunately, opening the file in PDFDebugger just results in the aforementioned StackOverflowError.
as an additional note, i can open this pdf document just fine with the preview feature on my macbook.
was (Author: jahlborn):
Thanks for the suggestion. unfortunately, opening the file in PDFDebugger just results in the aforementioned StackOverflowError.
> StackOverflowError in PDFieldFactory.findFieldType
> --------------------------------------------------
>
> Key: PDFBOX-5896
> URL: https://issues.apache.org/jira/browse/PDFBOX-5896
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.32
> Reporter: james
> Priority: Major
>
> I have a couple of different pdfs which all cause a StackOverflowError in (i'm attempting to read them using apache tika):
> at org.apache.pdfbox.pdmodel.interactive.form.PDFieldFactory.findFieldType(PDFieldFactory.java:138)
> (that line repeated 1000 times).
> at org.apache.pdfbox.pdmodel.interactive.form.PDFieldFactory.createField(PDFieldFactory.java:70)
> at org.apache.pdfbox.pdmodel.interactive.form.PDField.fromDictionary(PDField.java:80)
> at org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm.getFields(PDAcroForm.java:393)
> Unfortunately, i am unable to share the pdf file. However, i'm willing to work with someone if they want to direct me in some debugging efforts to get more info about the files in question.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org