[ https://issues.apache.org/jira/browse/PDFBOX-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved PDFBOX-395. ---------------------------------- Resolution: Fixed Fix Version/s: 0.8.0-incubator Assignee: Jukka Zitting Fixed in revision 730175. > NPE on public key encryption of an unencrypted document > ------------------------------------------------------- > > Key: PDFBOX-395 > URL: https://issues.apache.org/jira/browse/PDFBOX-395 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 0.7.3 > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Priority: Minor > Fix For: 0.8.0-incubator > > > While updating the TestPublicKeyEncryption test case I noticed that the > PublicKeySecurityHandler fails with an NPE when one tries to use public key > encryption on an unencrypted document. This is because > PublicKeySecurityHandler incorrectly expects the PDDocument to already > contain an encryption dictionary. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.