Service Catalog Error: module java.base does not "opens jdk.internal.ref" to unnamed module
search cancel

Service Catalog Error: module java.base does not "opens jdk.internal.ref" to unnamed module

book

Article ID: 249388

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

When some users try to see some requests, the form and data of the request are not displayed and the following error appears:

in view.log:

ERROR [http-nio-8080-exec-2] [CRequest] CREQ0015
java.lang.reflect.InaccessibleObjectException: Unable to make field jdk.internal.ref.PhantomCleanable jdk.internal.ref.PhantomCleanable.prev accessible: module java.base does not "opens jdk.internal.ref" to unnamed module @2a39fe6a
 at java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source) ~[?:?]
 at java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source) ~[?:?]

F12 Console shows the following error when the issue occurs:

Uncaught TypeError: Cannot read properties of undefined (reading 'focus')
    at HTMLDocument.<anonymous> (wpf?Node=icguinode.r…=catalogbrowse:1762)
    at Object.resolveWith (jquery.js:1)
    at Function.ready (jquery.js:1)
    at HTMLDocument.C (jquery.js:1)

Environment

Release : 17.3

Component : Catalog - Request Detail

Cause

missing option in viewService.conf

Resolution

Add the following to viewService.conf:

wrapper.java.additional.XX=--add-opens java.base/jdk.internal.ref=ALL-UNNAMED