java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1

Oracle Community | HaroonAfridi | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with Using named parameters in view Object Sql Statement

    Oracle Community | 6 years ago | HaroonAfridi
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
  2. 0

    problem with LOV query

    Oracle Community | 9 years ago | 610035
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
  3. 0

    Getting Error when setting the default value in LOV

    Oracle Community | 2 years ago | 2973180
    java.sql.SQLException: Invalid column type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LOV query with bind variable

    Oracle Community | 10 years ago | 574833
    java.sql.SQLException: Invalid column type

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Attempt to set a parameter name that does not occur in the SQL: 1

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OraclePreparedStatement.setObjectAtName
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
      2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
      3. oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8210)
      3 frames
    3. oracle.jbo.server
      OAJboViewObjectImpl.executeQueryForCollection
      1. oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
      2. oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
      3. oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
      4. oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
      5. oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
      6. oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
      7. oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
      7 frames
    4. oracle.apps.fnd
      OAViewObjectImpl.executeQueryForCollection
      1. oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
      1 frame
    5. oracle.jbo.server
      ViewObjectImpl.executeQuery
      1. oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
      2. oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
      3. oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
      4. oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
      5. oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
      5 frames
    6. oracle.apps.fnd
      OAPageBean.preparePage
      1. oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
      2. oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(Unknown Source)
      3. oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(Unknown Source)
      4. oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequestAfterController(Unknown Source)
      5. oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
      6. oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
      7. oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processRequest(Unknown Source)
      8. oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processRequest(Unknown Source)
      9. oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
      10. oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
      11. oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
      12. oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
      13. oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
      14. oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
      15. oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      16. oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      17. oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      17 frames