My Oracle Support Banner

Unexpected Error While Openning Task Descriptive Flexfield (Doc ID 2481692.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Enterprise Asset Management - Version 12.2.7 and later
Information in this document applies to any platform.


When attempting to open Task descriptive flexfield on the work order, the following error occurs.


You have encountered an unexpected error. Please contact your System Administrator for assistance.

Click here for exception details.

Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT wo.operation_seq_num AS operation_seq_num,
wo.wip_entity_id AS wip_entity_id,
wo.organization_id AS organization_id,
bso.operation_code AS standard_operation_code,
bd.department_code AS department_code,
wo.description AS description,
wor.resource_seq_num AS resource_seq_num,
wor.usage_rate_or_amount AS usage_rate,
wor.assigned_units AS assigned_units,

etc.... then see this below detail:

## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 13
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 weblogic.jdbc.wrapper.PreparedStatement.executeQuery(
at oracle.jbo.server.QueryCollection.buildResultSet(
at oracle.jbo.server.QueryCollection.executeQuery(
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(
at oracle.jbo.server.ViewRowSetImpl.execute(
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(
at oracle.jbo.server.ViewRowSetImpl.executeQuery(


The issue can be reproduced at will with the following steps:
1. Responsibility: Maintenance Super User.
2. Click on Work Orders tab.
3. Query any WO and click on work order number in view mode.
4. Click on Flexfield icon at the Tasks level (Tasks region).
5. Receive the above unexpected error:
6. Click here for exception details. The error stack shows the above exception details:


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.