Element already exist

Hi,

When I try to save the attached presentation, I get this exception:

class com.aspose.slides.ms.pbdb106a0.i: element already exists

Can you check this?

Thanks,
Zeljko

Hi Zeljko,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-35213 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 fixed.

We are sorry for your inconvenience,

Hi,

I am currently evaluating Aspose Slides for Java and experiencing a strange effect. When I read a multiplePPTX and repeated PPTX files,all functions properly, but if I want to just save the document , the following error occurs:

class com.aspose.slides.ms.pbdb106a0.i: element already exists

com.aspose.slides.Collections.Generic.SortedList.do(Unknown Source)

com.aspose.slides.Collections.Generic.SortedList.addItem(Unknown Source)

com.aspose.slides.p7cce53cf.aq.if(Unknown Source)

com.aspose.slides.p7cce53cf.at.long(Unknown Source)

com.aspose.slides.p7cce53cf.aq.do(Unknown Source)

com.aspose.slides.p7cce53cf.aq.do(Unknown Source)

com.aspose.slides.auq.do(Unknown Source)

com.aspose.slides.auq.do(Unknown Source)

com.aspose.slides.Presentation.do(Unknown Source)

com.aspose.slides.Presentation.do(Unknown Source)

com.aspose.slides.Presentation.save(Unknown Source)

com.ppt.PresentationDemo.mergePresentation(PresentationDemo.java:67)

com.ppt.PresentationDemo.main(PresentationDemo.java:138)

at com.aspose.slides.Collections.Generic.SortedList.do(Unknown Source)

at com.aspose.slides.Collections.Generic.SortedList.addItem(Unknown Source)

at com.aspose.slides.p7cce53cf.aq.if(Unknown Source)

at com.aspose.slides.p7cce53cf.at.long(Unknown Source)

at com.aspose.slides.p7cce53cf.aq.do(Unknown Source)

at com.aspose.slides.p7cce53cf.aq.do(Unknown Source)

at com.aspose.slides.auq.do(Unknown Source)

at com.aspose.slides.auq.do(Unknown Source)

at com.aspose.slides.Presentation.do(Unknown Source)

at com.aspose.slides.Presentation.do(Unknown Source)

at com.aspose.slides.Presentation.save(Unknown Source)

at com.ppt.PresentationDemo.mergePresentation(PresentationDemo.java:67)

at com.ppt.PresentationDemo.main(PresentationDemo.java:138)


Here's the code for processing the file, file is attached.

IPresentation presentation = PresentationFactory.getInstance().readPresentation("ActuateBIRT.pptx");

presentation.save("D:\\presentation slides\\Target.pptx", SaveFormat.Pptx);


Many thanks for helping,

yogesh

Hi Yogesh,


Thanks for inquiring Aspose.Slides.

I have observed your comments and suggest you to please first try using Aspose.Slides for Java 16.1.0 on your end. If there is still an issue then please share the sample presentation with us and I will investigate this further on my end to help you out.

Many Thanks,

Hi,


I have one more presentation with the similar issue.

Regards,
Zeljko

Hi Zeljko,

I have worked with the presentation file shared by you using Aspose.Slides for Java 16.3.0 on my end. There is no issue incurred on my end. Can you please try using the suggested version on your end to serve the purpose and share the feedback with us if there is still an issue.

Many Thanks,

Hi Mudassir,


I’m already using Aspose.Slides for Java 16.3.0 and there is an issue on my side.

Here’s the code I use:

String presentationPath = “Tall for bruk av tvang innen psykisk helsevern per 1. tert 2015.pptx”;

InputStream inputStream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(inputStream);

inputStream.close();

presentation
.save(“Tall for bruk av tvang innen psykisk helsevern per 1. tert 2015-aspose.pptx”,
SaveFormat.Pptx);

Regards,
Zeljko

Hi Zeljko,

Thank you for sharing further elaboration.

I have worked with sample code shared and have been able to reproduce the issue on my end. Earlier, I tested with loading of presentation and generating its slide thumbnails. I have attached the shared presentation in associated thread so that it may also get resolved when the issue will be fixed.

Many Thanks,