[
https://issues.apache.org/jira/browse/PDFBOX-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397502#comment-17397502
]
ASF subversion and git services commented on PDFBOX-5257:
---------------------------------------------------------
Commit 1892240 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1892240 ]
PDFBOX-5257: avoid NumberFormatException
> 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
> 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 change 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]