Issue: Unable to make field private: java.security.ProtectionDomain error in Release

Issue

Templates are taking about 30 seconds to start and throwing too many errors like below in logs:

2022-02-14 14:10:43.208 [qtp954220607-61] {request=/api/v1/templates/import, method=POST, username=
admin} WARN c.x.x.s.groovy.GroovyScriptSandbox - Error checking script protection domain

java.lang.reflect.InaccessibleObjectException: Unable to make field private java.security.
ProtectionDomain[] java.security.AccessControlContext.context accessible: module java.base does
not "opens java.security" to unnamed module @49c90a9c

Affected Products & Versions

Release 10.x, 22.x, 23.x

Cause

This occurs when Release versions 10.x, 22.x, or 23.x are used with JDK 17.

Workaround/Resolution Action

JDK 17 is incompatible with versions 10.x, 22.x, and 23.x of the Release. Switching to OpenJDK 11 is recommended to address this compatibility issue.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.