You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "vakhtang koroghlishvili (JIRA)" <ji...@apache.org> on 2014/01/20 19:47:22 UTC

[jira] [Commented] (PDFBOX-1855) StackOverflowError in PDAcroForm with getFields()

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

vakhtang koroghlishvili commented on PDFBOX-1855:
-------------------------------------------------

As I see, PDAcroForm tries to create field (Line 204). But we are stack in the method  of PDFiels named getKids();


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