[
https://issues.apache.org/jira/browse/PDFBOX-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120286#comment-14120286
]
Tilman Hausherr commented on PDFBOX-2310:
-----------------------------------------
You removed the clearCache() method of PDImageXObject. IMHO this went too far,
and will have a negative impact on the memory footprint, because the cache of
an existing (and linked) object won't be deleted by the garbage collector.
> codeToGID NPE
> -------------
>
> Key: PDFBOX-2310
> URL: https://issues.apache.org/jira/browse/PDFBOX-2310
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: expected.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> expected.pdf
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.pdfbox.pdmodel.font.PDType0Font.codeToGID(PDType0Font.java:306)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)