ORA-01400 Error occurs when checkin a file to folder (Doc ID 1531780.1)

Last updated on MAY 23, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Customer is not able to checkin a file into a folder . It shows below error 

intradoc.data.DataException: !csDbUnableToExecuteQuery,Icollection(INSERT INTO Collections (dCollectionID\, dCollectionGUID\, dParentCollectionID\, dCollectionName\, dC
ollectionType\,
  dCollectionQueries\, dCollectionEnabled\, dPromptForMetadata\, dCollectionInherit\, dChildManipulation\, dCollectionCreator\, dCreateDate\,
  dCollectionModifier\, dCollectionMark\, dCollectionOwner\, dLastModifiedDate\,
  dDependent\, dInDate\, dOutDate\, dReleaseDate\, dDocName\, dDocType\, dDocTitle\, dDocAuthor\, dRevLabel\, dSecurityGroup\, dDocAccount)
  values(797594441091000007\, '04A77C49-AB21-1414-C870-A88A5D5AA1D9'\, -1\, 'Trash'\, 0\, 1\, 0\, null\, 0\, 1\, '-'\, {ts '2013-02-21 10:38:04.724'}\, '-
'\, 'TRASH'\, 'sysadmin'\, {ts '2013-02-21 10:38:04.724'}\, ''\, null\, null\, null\, ''\, ''\, ''\, ''\, ''\, ''\, ''))!$ORA-01400: cannot insert NULL into ("NWCONS_OC
S"."COLLECTIONS"."DPROMPTFORMETADATA")

  at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2548)
  at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:586)
  at collections.CollectionStructure.forceChild(CollectionStructure.java:2482)
  at collections.CollectionUserHandler.verifyDefaultFolders(CollectionUserHandler.java:6160)
  at FoldersgInstallFilter.verifyDefaultFolders(FoldersgInstallFilter.java:1408)
  at FoldersgInstallFilter.verifyTables(FoldersgInstallFilter.java:866)
  at FoldersgInstallFilter.doInstall(FoldersgInstallFilter.java:1214)
  at

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