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 MessageHere 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.
Historical Number
NFX7049
Product Synonym
[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21552598