How to track down issue where WebCenter Sites is querying for an ID column in a table that doesn't have an ID column? (Doc ID 1575189.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Goal

The following error can be seen in the log file:

[2013-07-08 19:25:13,205][http-8080-1][logging.cs.db][ERROR] SQLException in prepared execute on table LocaleTree: SELECT id,nid,nparentid,nrank,ncode,otype,oid,oversion FROM LocaleTree WHERE otype = ? AND oid = ?
otype = DimensionSet
oid = 1174356615808
java.sql.SQLSyntaxErrorException: ORA-00904: "ID": invalid identifier

       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
       at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
       at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
       at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
       at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
       at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
       at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)

This was caused by a corruption in the resultset cache. Flushing both the "systeminfo->info" and "cached-catalogs" would temporarily resolve the issue, but this error resurfaces after some time.

Solution

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