Here you go:
import com.aspose.slides.Presentation;
public class test {
public static void main(String [] args) {
new Presentation("test/fixtures/files/example_with_pic.ppt");
}
}
Running it shows the stack trace at the end of this message.
I have tried dissembling the code, and using OS tracing and a Java SecurityManager to trace what your code is doing.
However, I can't work out what it is, because I think something is passing a null to a function which checks for the existence of a directory. If it were trying to access a specific directory I could have found what it was looking for and worked from there.
This is obviously something in the environment we're running it under (output of java -version) at end.
But I cannot debug it until you tell me what causes that exception.
Please look at your code, and the changes between 15.4.0 and 15.5.1, and tell me what I need to look at next.
We are only going to solve this if you use your access to the source code to help me.
Please!!!!!
Ben
java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
Exception in thread "main" class com.aspose.slides.ms.pbdb106a0.i: Source directory must exist
com.aspose.slides.pa2137a2a.qw.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
test.main(test.java:6)
at com.aspose.slides.pa2137a2a.qw.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at test.main(test.java:6)