Free Support Forum - aspose.com

Java PptxReadException : Input string was not in the correct format


#1

Problem file: Input_String_Not_In_Correct_Format.zip (99.7 KB)

Code:

Presentation p = new Presentation(input);

Error:

com.aspose.slides.PptxReadException : Input string was not in the correct format, stack trace:

class com.aspose.slides.PptxReadException: Input string was not in the correct format ---> class com.aspose.slides.exceptions.FormatException: Input string was not in the correct format
com.aspose.slides.internal.fp.else.do(Unknown Source)
com.aspose.slides.internal.fp.else.do(Unknown Source)
com.aspose.slides.internal.fp.else.do(Unknown Source)
com.aspose.slides.ms.System.transient.do(Unknown Source)
com.aspose.slides.ms.System.Xml.c5.long(Unknown Source)
com.aspose.slides.internal.k4.sx.int(Unknown Source)
com.aspose.slides.internal.k4.sx.do(Unknown Source)
com.aspose.slides.internal.k4.default.if(Unknown Source)
com.aspose.slides.internal.k4.sx.<init>(Unknown Source)
com.aspose.slides.internal.k4.package.do(Unknown Source)
com.aspose.slides.internal.k4.default.if(Unknown Source)
com.aspose.slides.internal.k4.package.<init>(Unknown Source)
com.aspose.slides.sr.do(Unknown Source)
com.aspose.slides.sq.do(Unknown Source)
com.aspose.slides.pv.do(Unknown Source)
com.aspose.slides.pv.do(Unknown Source)
com.aspose.slides.pv.do(Unknown Source)
com.aspose.slides.pv.do(Unknown Source)
com.aspose.slides.bb.do(Unknown Source)
com.aspose.slides.agv.do(Unknown Source)
com.aspose.slides.ac8.do(Unknown Source)
com.aspose.slides.acq.byte(Unknown Source)
com.aspose.slides.acq.do(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source

System information:

Oracle JDK : 11.0.1
Aspose.Slides : com.aspose:aspose-slides:18.12:jdk16


#2

@rocketraman,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-37553 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.