Direct links to fixes
APAR status
Closed as program error.
Error description
When a new catalog entry having data for SEO properties in multiple languages is sent to Commerce via dataload, the dataload operation throws a NullPointerException and fails to load catalog entries. An exception similar to the following may be observed: [5/5/14 17:55:26:546 IST] 00000201 datareader E SAXException:The SEO feature is not enabled. [5/5/14 17:55:26:608 IST] 00000201 datareader E com.ibm.commerce.catalog.dataload.exception.CatalogDataLoadAppl icationException: The SEO feature is not enabled. at com.ibm.commerce.foundation.dataload.xmlhandler.AbstractXmlHand ler.endElement(AbstractXmlHandler.java:375) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentC ontentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocum ent(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.ibm.commerce.foundation.dataload.datareader.XmlReader.parse InputXMLFile(XmlReader.java:114) at com.ibm.commerce.foundation.dataload.datareader.AbstractXmlRead er.loadInputXMLFile(AbstractXmlReader.java:281) at com.ibm.commerce.foundation.dataload.datareader.XmlReader.next( XmlReader.java:132) at com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoad er.readData(AbstractBusinessObjectLoader.java:1673) at com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoad er.loadData(AbstractBusinessObjectLoader.java:1584) at com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoad er.execute(AbstractBusinessObjectLoader.java:465) at com.ibm.commerce.foundation.dataload.DataLoaderMain.execute(Dat aLoaderMain.java:459) at com.ibm.commerce.content.commands.DataLoadInvoker.execute(DataL oadInvoker.java:101) ... Caused by: java.lang.NullPointerException at com.ibm.commerce.catalog.dataload.mediator.AbstractBaseCatalogM ediator.populateSEOPAGEDEF(AbstractBaseCatalogMediator.java:2868 ) ...
Local fix
Problem summary
USERS AFFECTED: Websphere Commerce users on v7.0 utilizing the dataload utility for SEO properties in the catalog PROBLEM ABSTRACT: Catalog entry with SEO properties in multiple languages cannot be loaded using dataload. BUSINESS IMPACT: Catentries with SEO properties with multiple languages can not be dataloaded. RECOMMENDATION:
Problem conclusion
A check is added to better interpret the null value (meaning that the entry is in memory and not persisted in the database yet). This entry therefore does not need to be created again. ------------------------------------------------------------- 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
JR50195
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-05-09
Closed date
2014-08-07
Last modified date
2014-08-07
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
R700 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:
11 December 2021