Direct links to fixes
APAR status
Closed as program error.
Error description
When adding a PackageBean to the cart, a NullPointerException similar to the following may be seen in the logs: Stack Trace: com.ibm.commerce.command.ECCommandTarget executeCommand CMN0420E: The following command exception has occurred during processing: "java.lang.NullPointerException". java.lang.NullPointerException at com.ibm.commerce.fulfillment.commands.CheckInventoryAvailability CmdImpl.getDateForNoCheckItem(CheckInventoryAvailabilityCmdImpl. java:1075) at com.ibm.commerce.fulfillment.commands.CheckInventoryAvailability CmdImpl.performExecute(CheckInventoryAvailabilityCmdImpl.java:86 0)
Local fix
This issue can be avoided by creating a Defining Attribute for the PackageBean.
Problem summary
USERS AFFECTED: WebSphere Commerce users on v7.0 who use PackageBeans and the Attribute Dictionary PROBLEM ABSTRACT: Unable to add PackageBeans to the cart when the PackageBean doesn't have any Defining Attributes BUSINESS IMPACT: Unable add PackageBeans to cart RECOMMENDATION:
Problem conclusion
This issue happens when ResolveSkuNewCmdImpl is being used to resolve the SKUs. This issue is not seen when using ResolveSkuCmdImpl. To verify which command is being used run the following query: SELECT CLASSNAME FROM CMDREG WHERE INTERFACENAME='com.ibm.commerce.catalog.commands.ResolveSkuCmd' ResolveSkuNewCmdImpl has been updated to allow a PackageBean with no defining attributes to be added to the cart ------------------------------------------------------------- The latest available maintenance information can be obtained from the Recommended Fixes for WebSphere Commerce technote: http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
Temporary fix
Comments
APAR Information
APAR number
JR49725
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-03-24
Closed date
2014-06-26
Last modified date
2014-06-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WC BUS EDITION
Fixed component ID
5724I3800
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
12 December 2021