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

Error expected floating point number actual='-7-8'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.17, 3.0.0 PDFBox
    • None
    • Parsing
    • None

    Description

      Found another case like the reported in https://issues.apache.org/jira/browse/PDFBOX-3500 or https://issues.apache.org/jira/browse/PDFBOX-3369

      In this case the pattern is with "double negative":

      Caused by: java.io.IOException: Error expected floating point number actual='-7-8'        at org.apache.pdfbox.cos.COSFloat.<init>(COSFloat.java:78)
      

      I modified a PDF to match the error we are getting in some cases (real data are productive/private data cannot attach)

      Attachments

        1. PDFReference14.var.pdf
          15.38 MB
          Joel Molins

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joelmolins Joel Molins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: