We have run into this issue after upgrading to Aspose Words 19.4. Why is this bug still outstanding all this time? Aspose Words can’t be used in conjunction with a Java Security Policy, but a JSP is required to meet modern security standards. Please fix this bug or tell us what exceptions to add the Policy file, other than
permission java.io.FilePermission “<<ALL FILES>>”,
1 Like
Here is the full stack trace we get:
java.lang.ExceptionInInitializerError
at com.aspose.words.internal.zzX.zzZ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.internal.zzX.zzZ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZ38.zzA(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZ38.zzY(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZ38.zzQ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZL8.zzZ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZL8.zzZ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZL8.zzV(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.zzZL8.zzW(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.License.setLicense(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
Caused by: java.security.AccessControlException: access denied ("com.aspose.words.internal.zzZP4" "defaultRandomConfig" "[defaultRandomConfig]")
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?]
at java.base/java.security.AccessController.checkPermission(AccessController.java:895) ~[?:?]
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:335) ~[?:?]
at com.aspose.words.internal.zzZP3$1.run(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at java.base/java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at com.aspose.words.internal.zzZP3.checkPermission(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.internal.zzZP3.zzZ(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
at com.aspose.words.internal.zzUZ.<clinit>(Unknown Source) ~[aspose-words-19.4-jdk17.jar:19.4]
@cbowditch
Currently, there is no update available on this issue (WORDSJAVA-1895). We will inform you via this forum thread once there is an update available on this issue. We apologize for your inconvenience.
A post was split to a new topic: IBM Domino exception
The issues you have found earlier (filed as WORDSJAVA-1895) have been fixed in this Aspose.Words for Java 22.9 update also available on Maven.
Wow, 3 years to fix a bug? Ok thanks for letting me know
1 Like