My Oracle Support Banner

Fusion Applications - BI Publisher - Data Model Explain Plan Error ORA-00904: "NULL_TO": invalid identifier (Doc ID 2517818.1)

Last updated on FEBRUARY 28, 2020

Applies to:

Oracle Fusion Financials Common Module Cloud Service - Version 11.13.19.01.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.13.19.01.0 version,

When attempting to Generate Explain Plan in Data Model,
the following error occurs.

ERROR
-----------------------

SQL Query Timeout: 600 oracle.xdo.XDOException: java.sql.SQLSyntaxErrorException: ORA-00904: "NULL_TO": invalid identifier
   at oracle.xdo.dataengine.diagnostic.Xplan.execute(Xplan.java:270)
   at oracle.xdo.dataengine.diagnostic.Xplan.processSQLDataSource(Xplan.java:231)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Edit Data Model
2. Create 2 parameters. Example - BINDVARIABLE , BINDVARIABLE_to
3. Edit Data Set and use these 2 parameters in the SQL Query
5. Click on "Generate Explain Plan"

Example: SQL Statement contains

AND (A.COLUMN2) <= nvl((:BINDVARIABLE_to), A.COLUMN2)
  AND (A.COLUMN2) >= nvl((:BINDVARIABLE), A.COLUMN2)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.