Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4423

Merge test checkWithNumberTree() fails when widget has no StructParent

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. 000746.pdf
          561 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: