My Oracle Support Banner

Capture Diagnostic Log Display Error "ImportJobSchedulerSessionBean error: javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number" (Doc ID 2193417.1)

Last updated on APRIL 18, 2024

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.9.0 and later
Oracle WebCenter Content - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Capture Diagnostic Log displays 

ImportJobSchedulerSessionBean error: javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number. 

Full error message follows:

[2016-10-11T08:41:20.746-06:00] [capture_server1] [ERROR] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ecid>] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] ReferenceError: "importClass" is not defined in <eval> at line number 30[[
javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number 30
at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:451)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:403)
<more stack trace follows>

Caused by: <eval>:30 ReferenceError: "importClass" is not defined
at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319)
at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291)
<more stack trace follows>

Changes

Update to Java JDK 1.8.x.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.