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

NumberFormatException in merge if fieldname is "dummyFieldName1#1"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.24
    • 2.0.25, 3.0.0 PDFBox
    • Utilities
    • None

    Description

      nextFieldNum = Math.max(nextFieldNum, Integer.parseInt(fieldName.substring(prefixLength)) + 1);
      

      needs to be changed to take into account that text after "dummyFieldName" might not be a number.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: