Add Item PopUp Error "String cannot be cast to oracle.jbo.domain.Number" in Parts Requirement (Doc ID 2046972.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Spares Management - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Spares Logistics

When entered item in add item field in Parts Requirement HTML page and then tab,
the following error occurs.

ERROR
-----------------------
"You have encountered an unexpected error. Please contact the System Administrator for assistance."

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: java.lang.String cannot be cast to oracle.jbo.domain.Number
  at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
  at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:620)
  at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
..
## Detail 0 ##
java.lang.ClassCastException: java.lang.String cannot be cast to oracle.jbo.domain.Number
  at oracle.apps.csf.portal.task.webui.CsfAddItemPopupCO.processRequest(CsfAddItemPopupCO.java:56)
  at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
  at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
  at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Field Service Manager
2. Creation of Service Request
3. Task Creation of Assigned Person
4. Clicked on Parts button for Part requirement
5. Opened Part Requirement form in HTML
6. Entered all required fields then click on add item
7. Entered item in add item field then press Tab key.
8. Error above


Cause

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