IBM Support

"java.lang.NullPointerException" while accessing only specific processed in Sterling MCF or SFS Applications Manager

Troubleshooting


Problem

"java.lang.NullPointerException" while accessing only specific processed in Sterling MCF or SFS Applications Manager

Symptom

User gets "java.lang.NullPointerException" error when accessing Participant modelling or Reverse Logistics. This error is not seen when accessing Global Inventory Visibility, Application Platform -> Process Modeling, Catalog Management, Logistics Management or Supply Collaboration.

Error Message


<Errors>
<Error ErrorCode="java.lang.NullPointerException"

<Attribute Name="ErrorCode" Value="java.lang.NullPointerException"/>
<Attribute Name="ErrorDescription" Value="java.lang.NullPointerException"/>
<Attribute Name="FormKey" Value="YCPPM350"/>
<Attribute Name="FormClass" Value="com.yantra.ycp.ui.screens.forms.YCPTree"/>
<Error ErrorCode="java.lang.NullPointerException"

<Stack>java.lang.NullPointerException
at com.yantra.ycp.ui.screens.YCPApplicationRulesTreeBehavior.getData(YCPApplication RulesTreeBehavior.java:103)
at com.yantra.ycp.ui.screens.YCPTreeBehavior.init(YCPTreeBehavior.java:80)
at com.yantra.ycp.ui.screens.YCPApplicationRulesTreeBehavior.init(YCPApplicationRul esTreeBehavior.java:66)
at com.yantra.yfc.ui.YFCPanel.addBehavior(YFCPanel.java:212)
at com.yantra.yfc.ui.YFCPanel$3.run(YFCPanel.java:231)
at com.yantra.yfc.ui.WorkerThread.run(WorkerThread.java:57)
</Stack>
</Error>
<Stack>com.yantra.yfc.util.YFCException
at com.yantra.yfc.ui.YFCPanel.addBehavior(YFCPanel.java:217)
at com.yantra.yfc.ui.YFCPanel$3.run(YFCPanel.java:231)
at com.yantra.yfc.ui.WorkerThread.run(WorkerThread.java:57)
</Stack>
</Error>
</Errors>

Resolving The Problem

One sees this error when web.xml is placed under <INSTALL_DIR>/repository/eardata/smcfs/extn folder without changes / extensions to the web.xml. If there are no changes done to the web.xml, it is not required to copy the web.xml into the extn directory.

To resolve the issue:
• Remove the web.xml file from the <INSTALL_DIR>/repository/eardata/smcfs/extn folder.
• Rebuild the EAR/WAR (Verify that the web.xml does not exist under extn folder in the WAR or the EAR)
• Redeploy the new EAR/WAR.
Documentation Update Pending:
Section 3.3 Preparing the Development Environment on WebLogic of Customization_Basics.pdf (Especially Step 3) mentions to place the web.xml under the <INSTALL_DIR>/repository/eardata/smcfs/extn folder.
This is a documentation defect and will be fixed in next Sterling higher version release documentation.

[{"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

NFX10271

Product Synonym

[<p><b>]Function Area[</b><p>];Installation;Upgrade;Migration

Document Information

Modified date:
16 June 2018

UID

swg21555866