11gr1 Upgrade Utility Milliseconds Fix Fails With Java.sql.SQLException: ORA-01407 (Doc ID 1555538.1)

Last updated on JANUARY 05, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

The 11gR1 (11.1.1.6.1 or 11.1.1.8.0) upgrade utility fails with a "java.sql.SQLException: ORA-01407" error when running the milliseconds fix

The upgrade utility can be run to correct millisecond inconsistency within approval system.
The command for doing this is to run the command with the -i <installdir> -a options, as per the cssytem.sh script file in the utility.

When running this command, the following error is seen in the console:

java.sql.SQLException: ORA-01407: cannot update ("DBUSERNAME"."APPROVEDASSETS"."ASSETDATE") to NULL

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
  at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1033)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
  at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1838)
  at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1803)
  at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:294)
  at com.fatwire.install.util.UpdateApproval.updateApprovedAssets(UpdateApproval.java:39)
  at com.fatwire.install.CSSystemCheck.main(CSSystemCheck.java:150)

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