IBM Support

JR54886: di-calculateprice utility fails with NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running the di-calculatePrice utility in delta mode and
    specifying the -trading parameter, you might encounter a
    NullPointerException:
    
    [12/1/15 16:08:59:372 PST] 000000a0 SystemErr     R
    java.lang.NullPointerException
    [12/1/15 16:08:59:372 PST] 000000a0 SystemErr     R    at
    com.ibm.commerce.foundation.dataimport.priceindex.commands.Catal
    ogEntryContractPriceCalculating.purgePriceCalculationResult(Cata
    logEntryContractPriceCalculating.java:774)
    [12/1/15 16:08:59:372 PST] 000000a0 SystemErr     R    at
    com.ibm.commerce.foundation.dataimport.priceindex.commands.Catal
    ogEntryContractPriceCalculating.run(CatalogEntryContractPriceCal
    culating.java:544)
    [12/1/15 16:08:59:373 PST] 000000a0 SystemErr     R    at
    com.ibm.commerce.threadmanagement.internal.BaseWork.run(BaseWork
    .java:139)
    

Local fix

Problem summary

  • USERS AFFECTED:
    - WebSphere Commerce users on Feature
    Pack 7 or later
    - WebSphere Commerce users on Version 8.
    
    PROBLEM ABSTRACT:
    di-calculateprice utility fails with NullPointerExceptiion
    
    BUSINESS IMPACT:
    Cannot use the di-calculateprice utility.
    

Problem conclusion

  • Added new case to cover catalog entries that do not have a price
    under a contract.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54886

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-04

  • Closed date

    2015-12-14

  • Last modified date

    2016-01-27

  • 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