IBM Support

JR59982: JR59703 causes issues during dataload when not including the CatalogEntryTypeCode

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When running dataload for table CATGPENREL, you may encounter a
    NPE as shown below :
    Stack trace:
    com.ibm.commerce.foundation.dataload.exception.DataLoadSystemExc
    eption: A null pointer exception occurs. Please check the
    exception stack in the error log file to see which class causes
    the null point exception.
    at
    com.ibm.commerce.foundation.dataload.businessobjectmediator.Abst
    ractBusinessObjectMediator.execute(AbstractBusinessObjectMediato
    r.java:512)
    at
    com.ibm.commerce.foundation.dataload.businessobjectbuilder.Abstr
    actBusinessObjectBuilder.processData(AbstractBusinessObjectBuild
    er.java:571)
    at
    com.ibm.commerce.foundation.dataload.businessobjectbuilder.Abstr
    actBusinessObjectBuilder.processData(AbstractBusinessObjectBuild
    er.java:516)
    at
    com.ibm.commerce.foundation.dataload.businessobjectbuilder.Abstr
    actBusinessObjectBuilder.execute(AbstractBusinessObjectBuilder.j
    ava:285)
    at
    com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoade
    r.processBusinessObjectBuilder(AbstractBusinessObjectLoader.java
    :2113)
    at
    com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoade
    r.processDataObject(AbstractBusinessObjectLoader.java:2055)
    at
    com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoade
    r.loadData(AbstractBusinessObjectLoader.java:1889)
    at
    com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoade
    r.execute(AbstractBusinessObjectLoader.java:517)
    at
    com.ibm.commerce.foundation.dataload.DataLoaderMain.execute(Data
    LoaderMain.java:458)
    at
    com.ibm.commerce.foundation.dataload.DataLoaderMain.main(DataLoa
    derMain.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:95)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280)
    Caused by: java.lang.NullPointerException
    at
    com.ibm.commerce.catalog.dataload.mediator.AbstractCatalogEntryM
    ediator.populateCATGPENREL(AbstractCatalogEntryMediator.java:266
    3)
    at
    com.pvh.commerce.catalog.dataload.mediator.XCatalogEntryParentCa
    talogGroupMediator.populateCATGPENREL(XCatalogEntryParentCatalog
    GroupMediator.java:45)
    at
    com.ibm.commerce.catalog.dataload.mediator.CatalogEntryParentCat
    alogGroupMediator.transform(CatalogEntryParentCatalogGroupMediat
    or.java:143)
    at
    com.ibm.commerce.foundation.dataload.businessobjectmediator.Abst
    ractBusinessObjectMediator.execute(AbstractBusinessObjectMediato
    r.java:456)
    ... 14 more
    The issue is caused by the code change added to
    AbstractCatalogEntryMediator.java to address JR59703.
    The error is getting thrown because the null validation on
    field 'CatalogEntryTypeCode' are ignored when judging the
    catentry object type.
    Dataload would fail if no CatalogEntryTypeCode was provided.
    

Local fix

  • A code fix is required.
    

Problem summary

  • Dataload would fail if no CatalogEntryTypeCode was provided.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR59982

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-04

  • Closed date

    2018-11-19

  • Last modified date

    2018-11-19

  • 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

  • R800 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":"8.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021