IBM Support

JR55388: NullPointerException during Quick Publish

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You might encounter a NullPointerException error during Quick
    Publish. For example:
    ===============================================================
    000000d0 CommerceSrvr  E com.ibm.commerce.wc.
    appmanagement.commands.UpdateStaticEARContentUsingFileSystemCmdI
    mpl
    initProdFileSystemCopyRootDir CMN8011E: The system can not parse
     the
    XML buffer java.lang.NullPointerException. java.lang.
    NullPointerException
     at org.apache.xpath.XPathAPI.eval(Unknown Source)
     at org.apache.xpath.XPathAPI.eval(Unknown Source)
     at com.ibm.commerce.wc.appmanagement.commands.
    UpdateStaticEARContentUsingFileSystemCmdImpl.
    initProdFileSystemCopyRootDir
    (UpdateStaticEARContentUsingFileSystemCmdImpl.java:187)
     at com.ibm.commerce.wc.appmanagement.commands.
    UpdateStaticEARContentUsingFileSystemCmdImpl.performExecute
    (UpdateStaticEARContentUsingFileSystemCmdImpl.java:225)
     at com.ibm.commerce.command.ECCommandTarget.executeCommand
    (ECCommandTarget.java:157)
     at
    com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCach
    e.
    java:332)
    ===============================================================
    
    This issue occurs because there is a missing FileSystem
    declaration in the <WC_eardir>/xml/config/FileSystem.xml and
    <WC_eardir>/xml/config/FTP.xml files.
    (For more information about the XML files, see
    http://www-01.ibm.com/support/knowledgecenter/SSZLC2_8.0.0/com.i
    bm.commerce.developer.doc/tasks/tdpupdwebasst.htm)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 8 environments on Fix Pack 5 and
    earlier.
    
    PROBLEM ABSTRACT:
    NullPointerException during Quick Publish
    
    BUSINESS IMPACT:
    Cannot use the Quick Publish option to push static assets into
    production system.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated the FTP.xml and FileSystem.xml file to add the missing
    elements for production systems.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR55388

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-23

  • Closed date

    2016-03-14

  • Last modified date

    2016-03-14

  • 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