After deploy to Apache Karaf- NullPointerException throw when calling Document.save()

Hi,

We’re using apache-karaf-3.0.3 and aspose-pdf-10.0.0, and here’s the error details.
See attachment for detailed info, eg. steps to reproduce.

—BEGIN—
karaf@root()> started…
java.lang.NullPointerException
at com.aspose.pdf.internal.p316.z32.m1(Unknown Source)
at com.aspose.pdf.internal.p318.z2.m1(Unknown Source)
at com.aspose.pdf.internal.p527.z2.m7(Unknown Source)
at com.aspose.pdf.internal.p527.z2.m4(Unknown Source)
at com.aspose.pdf.internal.p528.z2.m2(Unknown Source)
at com.aspose.pdf.internal.p528.z2.(Unknown Source)
at com.aspose.pdf.internal.p529.z1.m3(Unknown Source)
at com.aspose.pdf.internal.p529.z7.(Unknown Source)
at com.aspose.pdf.internal.p529.z1.(Unknown Source)
at com.aspose.pdf.internal.p529.z3.(Unknown Source)
at com.aspose.pdf.internal.p528.z8.m1(Unknown Source)
at com.aspose.pdf.internal.p531.z29.m28(Unknown Source)
at com.aspose.pdf.internal.p531.z35.m1(Unknown Source)
at com.aspose.pdf.internal.p531.z29.m1(Unknown Source)
at com.aspose.pdf.ADocument.preSave(Unknown Source)
at com.aspose.pdf.ADocument.saveInternal(Unknown Source)
at com.aspose.pdf.Document.saveInternal(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
at org.gs.test.PdfDemo.modifyContentForPdf(PdfDemo.java:38)
at org.gs.test.PdfDemo.start(PdfDemo.java:18)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:645)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2146)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart
LevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
—END—

Thanks and regards,
Jake

Hi Jake,


Thanks for your inquiry. We are looking into your issue and will let you know about our findings asap.

We are sorry for the inconvenience caused.

Best Regards,

Hi Jake,


We are sorry for the delayed response. After initial testing, we have logged a ticket PDFNEWJAVA-34855 in our issue tracking system for further investigation and rectification. We will keep you updated about the issue resolution progress.

Meanwhile we will appreciate it if you please confirm your OS and JDK version. Moreover, can you please confirm whether license implementation is working fine in you environment? This information will help us in the proceedings.

Best Regards,

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


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