You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/01/05 11:09:00 UTC

[jira] [Created] (PDFBOX-4423) Merge test checkWithNumberTree() fails when widget has no StructParent

Tilman Hausherr created PDFBOX-4423:
---------------------------------------

             Summary: Merge test checkWithNumberTree() fails when widget has no StructParent
                 Key: PDFBOX-4423
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4423
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.13
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.14, 3.0.0 PDFBox
         Attachments: 000746.pdf

I tried merging a large amount of digitalcorpora files and it failed immediately in checkWithNumberTree(). I narrowed it down to a single file - that one has fields with widgets with no StructParent. PDFBox returns these as "0" which would be a valid number. These getters should return -1 instead and callers should check the result.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org