My Oracle Support Banner

Get Unexpected Error - oracle.jbo.SQLStmtException: JBO-27122: SQL Error During Statement Preparation - when Accessing Maintain Offer Address Function (Doc ID 1586397.1)

Last updated on AUGUST 09, 2018

Applies to:

Oracle iRecruitment - Version 11.5.10.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to enter address using Irc Maintain Offer Address Page function, the following error occurs:

Error Page
You have encountered an unexpected error. Please contact your System Administrator for assistance. Click here for exception details.

Excerpts of error stack:

Error Page

Exception Details.

oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT address_id , decode(address_id,-1,' ',type.meaning) as type_meaning, address_type ,' ' as create_instruction FROM per_addresses addr, hr_lookups type WHERE addr.person_id = :1 AND sysdate BETWEEN addr.date_from and nvl(addr.date_to, sysdate) AND addr.address_type in ('REC','TMPMAIL') AND type.lookup_type = 'ADDRESS_TYPE' AND type.lookup_code = addr.address_type) QRSLT ORDER BY ADDRESS_TYPE DESC at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3269) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3064) at _OA._jspService(_OA.java:220) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
(..)

## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1752) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3444) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754) at
(..)


STEPS
The issue can be reproduced at will with the following steps:

1. Responsibility: iRecruitment Recruiter.
2. Navigation: Address.
3. Get error message.



Changes

 Irc Maintain Offer Address Page functionality has been added to IRC Recruiter Menu.

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
Changes
Cause
Solution


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