cancel
Showing results for 
Search instead for 
Did you mean: 

Error occuring while creating ola from a MA

Former Member
0 Kudos

Hi all ,

I'm new to e-sourcing .

One user is trying to create a OLA from an MA but getting a following error : " Error executing script: Sourced file: inline evaluation of: ``import java.util.Calendar; import com.sap.odp.api.common.types.TypeFactory; im . . . '' : Method Invocation docLinks.delete : at Line: 477 : in file: inline evaluation of: ``import java.util.Calendar; import com.sap.odp.api.common.types.TypeFactory; im . . . '' : docLinks .delete ( docLinks .get ( i ) )

Target exception: java.lang.ClassCastException: Cannot cast class com.sap.odp.common.db.ObjectReference to class java.lang.String "


Note : I'm the owner of MA . Also note that OLA is still getting created at the same time this error is popped up .

Please refer the attached image for error message.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chaitanya,

    Looks like you have some custom script which is failing to execute correctly which is being executed after the OA is created in ERP.

    Can you check to see if there are any custom scripts that are being executed and if so have them fixed.

Prasad