java.lang.ExceptionInInitializerError with Aspose.Slides 14.5

Hi,

Here's my code:-

public class PowerpointTx
{
public static void main(String args[]) throws Exception
{
Presentation presentation = new Presentation(args[0]);
String output = args[1] + File.separator + "Test.pdf";
presentation.save(output, SaveFormat.Pdf);
}
}

If I run this code on Windows 7 x64 with Java 1.7.0_55, then I get the output,
However, if I run it on Windows 2012 R2 x64 with Java 1.7.0_55, then I get the following exception:-

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.aspose.slides.ua.do(Unknown Source)
at com.aspose.slides.ty.(Unknown Source)
at com.aspose.slides.bhq.for(Unknown Source)
at com.aspose.slides.bhq.while(Unknown Source)
at com.aspose.slides.bgl.do(Unknown Source)
at com.aspose.slides.bgl.do(Unknown Source)
at com.aspose.slides.bgl.do(Unknown Source)
at com.aspose.slides.bgl.(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.AutoShape.do(Unknown Source)
at com.aspose.slides.AutoShape.do(Unknown Source)
at com.aspose.slides.GroupShape.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.asi.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at PowerpointTx.main(PowerpointTx.java:16)
Caused by: java.lang.UnsupportedOperationException: Unsupported Platform, pid: -
1
at com.aspose.slides.pa2137a2a.p883e881b.r.do(Unknown Source)
at com.aspose.slides.pa2137a2a.p9f36407e.i.if(Unknown Source)
at com.aspose.slides.pa2137a2a.p9f36407e.i.int(Unknown Source)
at com.aspose.slides.pa2137a2a.p9f36407e.i.(Unknown Source)
at com.aspose.slides.pa2137a2a.p9f36407e.i.(Unknown Source)
... 18 more

However, If I replace Aspose.slides.jar with version 14.4, then I do not see this exception on Windows 2012 machine.

Hence, this is a regression.
Note : - The above exception is obtained irrespective of the powerpoint document chosen.

Hi Ajesh,

I have observed the stack trace shared by you. Can you please share the sample presentation with us so that we may investigate the issue on our end to help you further.

Many Thanks,

Hi,


I have attached a document but please see my note above. It clearly says that the issue is not dependent on the presentation. As such, you are better off spending your time analyzing this issue from a platform + JDK perspective that from a document perspective.
Can you please move this to Enterprise Support and also let us know ETA for fixing this issue.
Also make sure not to increment the ES count since this is a regression.

Thanks,
Ajesh

Hi Ajesh,

I like to share that we are going to release Aspose.Slides for Java 14.6.0 by today day end. I request you to please wait until the specified release and kindly verify the new release when it is available on your end. Hopefully, the issue may get resolved in shared release. If the issue is still reproduced new release then please share with us and I will add the issue in our issue tracking system.

Many Thanks,

Hi,


The issue is still present with the 14.6 version of Aspose Slides.

Hi Ajesh,

Thank you for sharing your feedback. I have created an issue with ID SLIDESJAVA-34521 in our issue tracking system as regression to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Can you provide ETA for fixing this issue?

-Ajesh

Hi Ajesh,


I have verified from our issue tracking system and regret to share that the issue has not yet been resolved. It is already added with High priority in our issue tracking and we will share the good news with you as soon as it will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34521) have been fixed in this update.


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