Hello,
Since 25.8 (inclusive) version, I am not able to instantiate a lot of presentation files. Reason:
Caused by: java.lang.NullPointerException: Cannot invoke "com.aspose.slides.ms.System.Xml.t2.getLocalName()" because the return value of "com.aspose.slides.ms.System.Xml.n8.d6(int)" is null
Here is the test code for reproduction:
@org.junit.Test
public void forum() throws Exception {
java.lang.String presentationsDirAbsolutePath = "${absolute_path_to_extracted_zip}";
java.nio.file.Files.list(new java.io.File(presentationsDirAbsolutePath).toPath()).forEach(x -> {
try (java.io.InputStream presentationInputStream = new java.io.FileInputStream(x.toFile())){
new Presentation(presentationInputStream).dispose();
} catch (java.io.IOException e) {
throw new java.lang.RuntimeException(e);
}
});
}
Link to presentations directory zip (valid until Apr 8, 2026.).
Please evaluate for fixing.
Kind regards,
Zeljko