How to solve Java Error When Creating/processing A claim Or An Offer In Trade Management due to custom responsibility (Doc ID 1671680.1)

Last updated on MARCH 08, 2017

Applies to:

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

Goal

How to solve the following issues when, using a custom responsibility, you get:

1. Java error when creating/processing aclaim in trade management with steps:
Create a claim
select lines
enter details
update
select the claim again

=> Java error occurs

java.lang.Exception: CCWB: Missing objType parameter. java.lang.Exception: CCWB: Missing objType parameter. at oracle.apps.ams.webbean.CueCardContextWebBean.retrieveData(CueCardContextWebBean.java:257) at oracle.apps.asf.webbean.WebBeanHandler.retrieveData(WebBeanHandler.java:310) at _oa__html._ozfClaimDtailMain._jspService(_ozfClaimDtailMain.java:1784) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595)

2. Java error when you create/enter an offer in trade management with steps:
Create an offer
enter discount rules
navigate to advanced options
enter required fields and update it
go back to main again
go back to advanced options

=> java error appears

java.lang.ArrayIndexOutOfBoundsException: 2 >= 2 java.lang.ArrayIndexOutOfBoundsException: 2 >= 2 at java.util.Vector.elementAt(Vector.java:432) at oracle.apps.ams.html.BreadCrumbsRenderer.init(BreadCrumbsRenderer.java:483) at oracle.apps.ams.html.BreadCrumbsRenderer.(BreadCrumbsRenderer.java:124) at _oa__html._ozfAdvOptDtailMain._jspService(_ozfAdvOptDtailMain.java:3273) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595) 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms