I am using Aspose.page-25.12.jar and following your example code, to convert ps file to pdf. But I got the below issue on some files:
Cannot invoke “com.Aspose.page.internal.l1l.I594.equals(Object)” because “” is null
…...converting PS to PDF in Java Aspose.Page Product Family words-java...files: Cannot invoke “com.aspose.page.internal.l1l.I594.equals(Object)”...