Integer cannot be cast to java.lang.Long

Hi,

When I try to save the attached presentations via code, I get exception mentioned in subject of the thread. Can you check this?

Here's the code I used:

String presentationPath = "barabaschi_iter_soft06.ppt";

InputStream stream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(stream);

stream.close();

presentation.save("barabaschi_iter_soft06-aspose.ppt", SaveFormat.Ppt);

Thanks,
Zeljko

Hi Zeljko,


Thank you for posting.

I have observed your comments and worked with the presentation file shared by you. I have been able to reproduce the specified issue. A ticket with ID SLIDESJAVA-35166 has been logged in our issue tracking system 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,

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


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

Hi,


I switched to Aspose.Slides 16.1.0 and I can confirm the issue reported above is not present any more. Thanks you for fixing it.

However, there is new issue with both of the attached presentations. When I open the presentations in PowerPoint after open/save via code, this is the message I get:

PROTECTED VIEW Office has detected a problem with this file. Editing it may harm your computer.

Can you check this?

Thanks,
Zeljko

Hi Zeljko,


It’s good to know that things are fine on our end. For the new issue reported by you regarding presentation repair message, I request you to please share the complete PowerPoint version used on your end along with generated presentation so that we may investigate that further on our end.

Many Thanks,

Hi Mudassir,


I attached generated presentations with the repair message.

Microsoft PowerPoint 2013 (15.0.4420.1017) 64-bit (part of Office Professional Plus 2013).

Thanks,
Zeljko

Hi Zeljko,


I have observed the information shared and have been able to observe the issue specified. An issue with ID SLIDESJAVA-35240 has been created in our issue tracking system 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,

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


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