[ 
https://issues.apache.org/jira/browse/PDFBOX-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881177#comment-13881177
 ] 

Tilman Hausherr commented on PDFBOX-1855:
-----------------------------------------

I forgot to check this last time - your stack overflow happens with load() 
(also in version 2.0), but not with loadNonSeq() where I get 
"COSArrayList{COSArray{[COSObject{7, 0}]}}" as output for acroForm.getFields().

> 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)

Reply via email to