[ 
https://issues.apache.org/jira/browse/PDFBOX-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120439#comment-14120439
 ] 

Tilman Hausherr commented on PDFBOX-2310:
-----------------------------------------

I get 107 matches in 24 files. Specifically, the clear() method was very useful 
in the ExtractImages example where you removed it, and where it was added as a 
result of the discussion in PDFBOX-2101. People were having out of memory 
troubles. The PDImageXObject objects are held in the resource map; the 
BufferedImage is cached and the clear() method allowed to delete that cache 
without deleting the object itself.

> 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)

Reply via email to