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 MARCH 30, 2017

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
Oracle Fusion Middleware - Version 11.1.2.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: d4f5849c-f7a8-4b8d-9c50-b0bdb72c4e2a-000016ff,0] [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

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 hundreds of Community platforms