Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

NullPointerException in Add Attachment in a PDF Document

$
0
0
With your code (http://www.aspose.com/docs/display/pdfjava/Add+Attachment+in+a+PDF+Document), 
if i use a InputStream in the FileSpecification constructor i get a NullPointerException in the following instruction (pdfDocument.getEmbeddedFiles().add(fileSpecification))
Library: aspose-pdf-4.4.0.jar

Thanks in advance,
Marco

Viewing all articles
Browse latest Browse all 3131

Trending Articles