We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

NullPointerException in Add Attachment in a PDF Document

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

Hi Marco,


Thanks for using our products.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWJAVA-33890 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.

When do you think you’ll close this bug and release new version?

4.4 closed a bug and opens another one …


thx


Hi Michael,


The above stated PDFNEWJAVA-33890 is resolved and its fix will be included in next release of Aspose.Pdf for Java 4.5.0. However concerning to other issue which you are facing, please share some details so that we can further look into this matter. We apologize for this inconvenience.

When do you think you will release the new version?


Do you use unit testing on AsposePDF?


thx
Michael

michael.burger@siag.it:
When do you think you will release the new version?
Hi Michael,

We do have a plan to release Aspose.Pdf for Java 4.5.0 early next month (January).

michael.burger@siag.it:
Do you use unit testing on AsposePDF?
Yes we perform thorough unit testing before any version is published.

The issues you have found earlier (filed as PDFNEWJAVA-33890) have been fixed in Aspose.Pdf for Java 9.0.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.