[ 
https://issues.apache.org/jira/browse/PDFBOX-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-5257.
-------------------------------------
    Resolution: Fixed

> NumberFormatException in merge if fieldname is "dummyFieldName1#1"
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-5257
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5257
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.24
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> {code}
> nextFieldNum = Math.max(nextFieldNum, 
> Integer.parseInt(fieldName.substring(prefixLength)) + 1);
> {code}
> needs to be changed to take into account that text after "dummyFieldName" 
> might not be a number.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to