카테고리 없음

Sterling OMS - Troubleshooting

androowl 2020. 6. 15. 20:44

Problem

Application header start showing the "Yantra 7.X " and System management console will stop working.

Symptom

Application Home Screen and System management console throwing the NPE :-


<Error ErrorCode="java.lang.NullPointerException"
ErrorDescription="Error description not available" ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="java.lang.NullPointerException"/>
<Attribute Name="ErrorDescription" Value="Error description not available"/>
<Error ErrorCode="java.lang.NullPointerException"
ErrorDescription="" ErrorRelatedMoreInfo="">
<Stack>java.lang.NullPointerException&#xd;
at com.yantra.ycp.hm.ui.backend.YHMMonitorServlet.getBackendLocale(YHMMonitorServlet.java:204)&#xd;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)&#xd;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)&#xd;

Cause

Locale Setup

Diagnosing The Problem

Check getPreoperty API output with below XML ,if it shows the locale value with is not present in yfs_locale table .
<GetProperty PropertyName="yfs.install.localecode" />

Resolving The Problem

Add the System locale to "yfs_locale" table or add the yfs.yfs.install.localecode property in customer_override.properties file with the with the system locale value
yfs.yfs.install.localecode=<Operating system locale value>