My Oracle Support Banner

When Adding An Item In The Parts Requirement An Error Occurs: "String cannot be cast to oracle.jbo.domain.Number" (Doc ID 2046972.1)

Last updated on AUGUST 16, 2018

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 entering and item in the 'add item' field in the Parts Requirement HTML page 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. Create a Service Request
3. Create a task and assign it
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


Changes

 

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.