[
https://issues.apache.org/jira/browse/PDFBOX-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206753#comment-14206753
]
Tilman Hausherr commented on PDFBOX-2494:
-----------------------------------------
I didn't debug this one, but I debugged a file I don't want to share with the
same stack trace. The cause at the top is that a float value is INFINITY. This
happened because of transforms that are done again and again so the numbers get
higher and higher.
> NumberFormatException
> ---------------------
>
> Key: PDFBOX-2494
> URL: https://issues.apache.org/jira/browse/PDFBOX-2494
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
>
> Maybe from PDFBOX-2423
> PDF from PDFBOX-1359
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> 10946_2004_Article_340818.pdf
> java.lang.NumberFormatException
> at java.math.BigDecimal.<init>(BigDecimal.java:494)
> at java.math.BigDecimal.<init>(BigDecimal.java:383)
> at java.math.BigDecimal.<init>(BigDecimal.java:806)
> at org.apache.pdfbox.cos.COSFloat.setValue(COSFloat.java:73)
> at org.apache.pdfbox.cos.COSFloat.<init>(COSFloat.java:41)
> at
> org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightX(PDRectangle.java:237)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)