WebCenter Enterprise Capture Script Generates Error "Cannot Access Current Date/time" (Doc ID 1908681.1)

Last updated on NOVEMBER 13, 2015

Applies to:

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

Symptoms

When running the following script to auto populate a date field in a batch for WEC, the script errors out with a nullpointerexception in the Java Console on the fieldGotFocus event.

Script:

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