oracle.apps.fnd.framework.OAException

oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT DISTINCT orc.action_code action_code, fl.meaning action_name FROM okc_rep_con_actions orc, fnd_lookups fl WHERE orc.status_code = :1 AND fl.lookup_code = orc.action_code AND fl.lookup_type = 'OKC_REP_CON_ACTIONS' AND (:2 is null OR orc.action_code <> :3) AND (:4 is null OR orc.action_code <> :5) AND nvl(disabled_flag, 'N') = 'N' AND ((OKC_REP_UTIL_PVT.has_contract_access(:6, 'OKC_REP_AU_UPDATE') = 'T' AND orc.page_mode = 'UPDATE') OR (OKC_REP_UTIL_PVT.has_contract_access(:7, 'OKC_REP_AU_SELECT') = 'T' AND orc.page_mode = 'VIEW')) AND (:8 is null OR orc.action_code <> :9)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1298

  • via Unknown by User544872,
  • via Unknown by Afaf Aboutabit,
  • Stack trace

    • oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT DISTINCT orc.action_code action_code, fl.meaning action_name FROM okc_rep_con_actions orc, fnd_lookups fl WHERE orc.status_code = :1 AND fl.lookup_code = orc.action_code AND fl.lookup_type = 'OKC_REP_CON_ACTIONS' AND (:2 is null OR orc.action_code <> :3) AND (:4 is null OR orc.action_code <> :5) AND nvl(disabled_flag, 'N') = 'N' AND ((OKC_REP_UTIL_PVT.has_contract_access(:6, 'OKC_REP_AU_UPDATE') = 'T' AND orc.page_mode = 'UPDATE') OR (OKC_REP_UTIL_PVT.has_contract_access(:7, 'OKC_REP_AU_SELECT') = 'T' AND orc.page_mode = 'VIEW')) AND (:8 is null OR orc.action_code <> :9) at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source) at _OA._jspService(_OA.java:87) 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 com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    9 more bugmates