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

Andreas Lehmkühler commented on PDFBOX-421:
-------------------------------------------

The method getFonts in PDResources is sometimes called without a fontcache, I 
didn't check that and finally it throws a NPE.
I've provided a patch so that this NPE is gone with version 742864. There are 
more cases passing the tests but there are still some problems left. I'll check 
on them later.

> Unit tests are failing
> ----------------------
>
>                 Key: PDFBOX-421
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-421
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 0.8.0-incubator
>            Reporter: Daniel Wiell
>            Priority: Minor
>             Fix For: 0.8.0-incubator
>
>
> Failed tests:
>   testExtract(org.apache.pdfbox.util.TestTextStripper)
>  
> Tests in error:
>   testProtectionError(org.apache.pdfbox.encryption.TestPublicKeyEncryption)
>   testProtection(org.apache.pdfbox.encryption.TestPublicKeyEncryption)
>   testMultipleRecipients(org.apache.pdfbox.encryption.TestPublicKeyEncryption)
>   testRenderImage(org.apache.pdfbox.util.TestPDFToImage)
>   testFDFfdeb(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFPDFWithLotsOfFields(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFFreedomExpressions(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFfdeb(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFPDFWithLotsOfFields(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFFreedomExpressions(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFfdeb(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFPDFWithLotsOfFields(org.apache.pdfbox.pdmodel.TestFDF)
>   testFDFFreedomExpressions(org.apache.pdfbox.pdmodel.TestFDF)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to