IBM Support

User Exit class not found exception YCP0091 when start application

Troubleshooting


Problem

User Exit class not found exception YCP0091 when start application

Symptom

When application starts, an user exit class not found exception throw.

Error Message

Here is the example of the error:

<Errors>
<Error ErrorCode="YCP0091"

<Attribute Name="ErrorCode" Value="YCP0091"/>
<Attribute Name="ErrorDescription" Value="Error loading class"/>
<Attribute Name="ClassName" Value="com.yantra.yfs.japi.ue.YFSmassageApiOutputBeforeReturningUE"/>
<Attribute Name="UserId" Value="system"/>
<Attribute Name="ProgId" Value="system"/>
<Error ErrorCode="java.lang.ClassNotFoundException"

<Stack>java.lang.ClassNotFoundException:
com.yantra.yfs.japi.ue.YFSmassageApiOutputBeforeReturningUE
at java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:164) at
com.yantra.ycp.core.YCPUserExitManager.getClassForName(YCPUserExitManager.java:4 73)
at
com.yantra.ycp.core.YCPUserExitManager.getUserExitObject(YCPUserExitManager.java :139)

Resolving The Problem

The reason for this is the user exit is not present in YFS_USER_EXIT table. Sometimes user exits are added in a hot fix release. Running the data migration step will load default factory into the database. If data migration did not run successfully, the insert of this record could be missed.

The solution is to run the data migration again to insert the user exit is added properly to the table.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX7049

Product Synonym

[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21552598