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 and later
Information in this document applies to any platform.


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( at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException( at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument( at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument( at _OA._jspService( at com.orionserver.http.OrionHttpJspPage.service( at oracle.jsp.runtimev2.JspPageTable.service( at oracle.jsp.runtimev2.JspServlet.internalService( at oracle.jsp.runtimev2.JspServlet.service( at javax.servlet.http.HttpServlet.service( at

## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow( at oracle.jdbc.driver.OraclePreparedStatement.executeInternal( at oracle.jdbc.driver.OraclePreparedStatement.executeQuery( at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery( at oracle.jbo.server.QueryCollection.buildResultSet( at oracle.jbo.server.QueryCollection.executeQuery( at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection( at

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

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


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


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

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