Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Getting Error: JBO-29000:java.lang.Long cannot be cast to java.lang.String — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting Error: JBO-29000:java.lang.Long cannot be cast to java.lang.String

Accepted answer
21
Views
2
Comments
edited Nov 11, 2022 11:36AM in Sales 2 comments

Summary:

Getting Below Error while executing an object function in Installed Base Asset:

Error:oracle.binding.expr.ServiceInvocationException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.Long cannot be cast to java.lang.String

Content (required):

We are using an object function to PATCH data in fusion and facing above error. Below is the snippet

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

println('Inside Edit Product Object Function');

def assetValue = adf.webServices.XX_OSS_UpdateProductField;

try{

//def ItemId = ItemId;

//def ItemId = CustomerProductItem_c;

//def ItemId = CustomerProductItem_c;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!