Aspose dies processing the attached file

We get the following code. Notice the file is 12Mb so it might have some hidden objects


com.aspose.slides.internal.m.gk: Parsing of table ‘GPOS’ has failed.
at com.aspose.slides.internal.m.gm.do(Unknown Source)
at com.aspose.slides.internal.m.gm.int(Unknown Source)
at com.aspose.slides.internal.m.gm.do(Unknown Source)
at com.aspose.slides.FontsManager.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.abk.do(Unknown Source)
at com.aspose.slides.MasterSlideCollection.do(Unknown Source)
at com.aspose.slides.MasterSlideCollection.addClone(Unknown Source)
at com.contiq.common.aspose.PPTXConverter.convert(PPTXConverter.java:54)
at com.contiq.common.aspose.Utils.toMasterPPTX(Utils.java:281)
at com.contiq.extractor.model.AsynchronousPPTXProcessor.process(AsynchronousPPTXProcessor.java:112)
at com.contiq.extractor.messaging.AsynchronousExtractDocumentPagesListener.handleExtractionMessage(AsynchronousExtractDocumentPagesListener.java:121)
at com.contiq.extractor.messaging.AsynchronousExtractDocumentPagesListener.lambda$extractDocumentPages$0(AsynchronousExtractDocumentPagesListener.java:80)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.aspose.slides.internal.m.gk: incorrect DeltaFormat = 32768 for device table
at com.aspose.slides.internal.m.f0.do(Unknown Source)
at com.aspose.slides.internal.m.fh.do(Unknown Source)
at com.aspose.slides.internal.m.i2.do(Unknown Source)
at com.aspose.slides.internal.m.fh.do(Unknown Source)
at com.aspose.slides.internal.m.g1.do(Unknown Source)
at com.aspose.slides.internal.m.h0.do(Unknown Source)
at com.aspose.slides.internal.m.g6.do(Unknown Source)
at com.aspose.slides.internal.m.h0.do(Unknown Source)
at com.aspose.slides.internal.m.h6.do(Unknown Source)
at com.aspose.slides.internal.m.fh.do(Unknown Source)
at com.aspose.slides.internal.m.g8.do(Unknown Source)
at com.aspose.slides.internal.m.g7.do(Unknown Source)
… 19 common frames omitted

@rahul.contiq,

Can you please share source files along with environment details so that we may further investigate to help you out. Also please share complete sample project to reproduce issue.

Hi Adnan,

Any updates here. We had sent you diagnostic info through the email

@rahul.contiq,

Can you please attach source pptx file to this thread so that we may test that on our environment and help you out.

Hi, I could not find a way to the attach the slides here so I sent it you using email

We were able to figure out that these two slides (each from a different presentation) were causing the crashes.

@rahul.contiq,

Please check attachment. I have shared screen shot with explaining how you can attach file to forum. Also please share by which email address you have sent file so that i may check in my inbox.2019-04-02 11_01_11-.png (46.2 KB)

Here you go. I have attached the two slides in the zip file

Not sure whether the zip file got uploaded or not so doing it again. Please confirm that you got the two test slides.

@rahul.contiq,

I regret to inform that no file is attached to this thread. Can you please send file via dropbox and share link with us here.

Here is a link
https://drive.google.com/open?id=1T3oxPwNcW4Xt5CpHPAoUhNTlvInnzDE2

@rahul.contiq,

Can you please share source code that you have used on your end so that we may further investigate to help you out. I have tested this on my end by converting pptx to pdf and got exception different from your one. Please share your sample code so that we may help you out.