Error converting XPS to PDF

Hi,

When using the new XPS → PDF feature in PDF-4.4.0 as described at https://docs.aspose.com/pdf/java/convert-xps-to-pdf/ I get the following error:

java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 0.5
at com.aspose.ms.a.a.a.h.(Unknown Source)
at com.aspose.ms.a.a.a.f.(Unknown Source)
at com.aspose.ms.a.a.a.f.(Unknown Source)
at com.aspose.ms.a.a.a.f.(Unknown Source)
at com.aspose.ms.a.a.a.f.(Unknown Source)
at com.aspose.ms.System.Drawing.a.n.a(Unknown Source)
at com.aspose.ms.System.Drawing.c.getTransparency(Unknown Source)
at sun.java2d.SunGraphics2D.setPaint(SunGraphics2D.java:925)
at com.aspose.ms.System.Drawing.m.a(Unknown Source)
at com.aspose.ms.System.Drawing.m.b(Unknown Source)
at com.aspose.ms.System.Drawing.m.a(Unknown Source)
at com.aspose.ms.System.Drawing.m.b(Unknown Source)
at com.aspose.ms.System.Drawing.m.a(Unknown Source)
at com.aspose.m.g.a(Unknown Source)
at com.aspose.m.g.a(Unknown Source)
at com.aspose.m.g.f(Unknown Source)
at com.aspose.m.g.c(Unknown Source)
at com.aspose.m.g.h(Unknown Source)
at com.aspose.m.h.a(Unknown Source)
at com.aspose.pdf.ADocument.a(Unknown Source)
at com.aspose.pdf.ADocument.(Unknown Source)
at com.aspose.pdf.Document.(Unknown Source)

I realise this is a brand new feature. Is this a limitation of the current implementation? Is there a way to resolve this?

Thanks in advance,

Anthony

Hi Anthony,


Thanks for using our products.

Can you please share the source XPS file so that we can test the scenario at our end. We are sorry for this inconvenience.
Hi Nayyar,
Sorry about the delay in responding. Due to the nature of the content I can't provide the XPS file used and I have not had time to recreate this as it's a low volume format for us.

I did however find a reference to the error in the java bugs listing that contained a potential workaround that may be of use to you.

http://bugs.sun.com/view_bug.do?bug_id=6452175

Regards,

Anthony

Hi Anthony,


In order for us to figure out the reasons of this problem, first we need to replicate this issue in our environment. Please note that the files/resources shared by customers are only used for testing purposes and they are removed from our system once an issue is resolved.

For your reference, I have also marked this thread as private so that no one else other than Aspose staff can access these files. Even then if you are not comfortable while sharing the file in this thread, you may consider directly sending us the document. For further information, please visit How to send a license?