Troubleshooting
Problem
Attempts to open Application Console in IBM Sterling Order Management 9.3 results in the error NullPointerException at com.yantra.ysc.ui.screens.util.YSCConfigInitializer.initAppContext(YSCConfigInitializer.java:46)).
Symptom
Open Application Console for IBM Sterling Selling Fulfillment Suite 9.3.
The stack trace thrown is as follows:
<Errors>
<Error ErrorCode="java.lang.NullPointerException"
ErrorDescription="java.lang.NullPointerException"
ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="java.lang.
NullPointerException"/>
<Attribute Name="ErrorDescription" Value="java.lang.
NullPointerException"/>
<Error ErrorCode="java.lang.NullPointerException"
ErrorDescription="" ErrorRelatedMoreInfo="">
<Stack>java.lang.NullPointerException
at com.yantra.ysc.ui.screens.util.YSCConfigInitializer.
initAppContext(YSCConfigInitializer.java:46)
at com.yantra.ysc.ui.screens.util.YSCConfigInitializer.
initialize(YSCConfigInitializer.java:39)
at com.yantra.app.config.YantraConfigMain.
initInitializers(YantraConfigMain.java:1116)
at com.yantra.app.config.YantraConfigApplet.showMenu
(YantraConfigApplet.java:166)
at com.yantra.app.config.YantraConfigApplet.init
(YantraConfigApplet.java:81)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter. init(Unknown Source)
at sun.plugin2.applet.
Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
</Stack>
</Error>
<Stack>com.yantra.yfc.util.YFCException
at com.yantra.app.config.YantraConfigMain.
initInitializers(YantraConfigMain.java:1118)
at com.yantra.app.config.YantraConfigApplet.showMenu
(YantraConfigApplet.java:166)
at com.yantra.app.config.YantraConfigApplet.init
(YantraConfigApplet.java:81)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.
init(Unknown Source)
at sun.plugin2.applet. Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
</Stack>
</Error>
</Errors>
Cause
You are using IBM Sterling Selling Fulfillment Suite 9.3 on Web sphere 8.5.5.2 with JRE's 1.6.0_21, 1.6.0_45 and Browsers as IE 8, IE 10.
Resolving The Problem
Steps to resolve:
- Update the web.xml in the smcfs.ear with the below entry.
<servlet id="Servlet_66">
<servlet-name>YSCChangeRequestAPI</servlet-name>
<servlet-class>com.yantra.ysc.ui.backend.YSCChangeRequestAPI</servlet-class> </servlet>
. <servlet-mapping id="ServletMapping_67"> <servlet-name>YSCChangeRequestAPI</servlet-name>
. <url-pattern>/servlets/com.yantra.ysc.ui.backend.YSCChangeRequestAPI</url-pattern>
</servlet-mapping>
- Rebuild and redeploy EAR.
Related Information
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21686296