[
https://issues.apache.org/jira/browse/PDFBOX-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881337#comment-13881337
]
Tilman Hausherr commented on PDFBOX-1855:
-----------------------------------------
Try the PrintFields class ( org\apache\pdfbox\examples\fdf\PrintFields ).
Here's the output I got after changing it to loadNonSeq:
{code}
1 top-level fields were found on the form
|--topmostSubform[0]
| |--topmostSubform[0].Page1[0]
| | |--topmostSubform[0].Page1[0].Textfeld1[0] = 2 Paar,
type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
| | |--topmostSubform[0].Page1[0].Textfeld1[1] = Einlegesohle UVEX, Gr.
(40), type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
| | |--topmostSubform[0].Page1[0].Textfeld1[2] = 9595.8,
type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
| | |--topmostSubform[0].Page1[0].Textfeld1[3] = 3020000,
type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
| | |--topmostSubform[0].Page1[0].Textfeld1[4] = 10€,
type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
| | |--topmostSubform[0].Page1[0].Textfeld1[5] = 20€,
type=org.apache.pdfbox.pdmodel.interactive.form.PDTextbox
...
{code}
> StackOverflowError in PDAcroForm with getFields()
> -------------------------------------------------
>
> Key: PDFBOX-1855
> URL: https://issues.apache.org/jira/browse/PDFBOX-1855
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.8.3
> Environment: OS Windows, Java 1.7
> Reporter: Christian Czech
> Attachments: 6ca_001.pdf
>
>
> Hi,
> an StackOverflowError occur!
> My Code:
> PDAcroForm acroForm = catalog.getAcroForm();
> if (acroForm != null) {
> log.info(currentDocument + " found fields");
> List fields = null;
> try {
> //acroForm.
> fields = acroForm.getFields();
> ...
> Can you look at the problem?
> Thanks
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)