My Oracle Support Banner

Field Service Error: "You Have Encountered An Unexpected Error.Please Contact System Administrator" When Debriefing a Task (Doc ID 1918298.1)

Last updated on SEPTEMBER 14, 2023

Applies to:

Oracle Field Service - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Debrief / Field Service Report

When attempting to open the Debrief HTML page, the following error occurs.

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

"You Have Encountered An Unexpected Error.Please Contact System Administrator"


After setting profile option "FND: Diagnostics" to "Yes" and reproducing the error,  the following error stack is displayed in the View Source of the error page:


Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select CLOSED_FLAG, COMPLETED_FLAG,
CANCELLED_FLAG, ON_HOLD_FLAG, REJECTED_FLAG
from JTF_TASK_STATUSES_VL jtsv
where jtsv.TASK_STATUS_ID = :1
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
...
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:744)
## 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)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a SR and a Task.
2. Try to debrief the task
3. A new window pops up with the reported exception in the View Source


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.