IBM Support

JR46524: CMVC 228457 - Dataload halts when it encounters a null character 0x0000 in the input data.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Dataload terminates with an error when it encounters a null
    character in the input data,  An exception similar to the
    following may be seen in the logs:
    
     An unexpected error has occurred. The error is An invalid XML
    character (Unicode: 0x0) was found in the element content: .
     Stack trace:
     com.ibm.commerce.foundation.dataload.exception.DataLoadSystemEx
    ception: An unexpected error has occurred. The error is An
    invalid XML character (Unicode: 0x0) was found in the element
    content: .
       at
    com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoade
    r.execute(AbstractBusinessObjectLoader.java:458)
       at
    com.ibm.commerce.foundation.dataload.DataLoaderMain.execute(Data
    LoaderMain.java:459)
       at
    com.ibm.commerce.foundation.dataload.DataLoaderMain.main(DataLoa
    derMain.java:215)
     Caused by: java.lang.RuntimeException: An invalid XML character
    (Unicode: 0x0) was found in the element content:
       at
    org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl$Escape.convert(XMLSav
    eImpl.java:3020)
    
     This causes the Dataload operation to stop, even if maxError=0
    was specified when running the load.
    

Local fix

  • Remove the records that contain null characters from the input
    file.
    

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce V7 users running Dataload with null
    characters in their input data.
    
     PROBLEM ABSTRACT:
     Dataload halts when it encounters a null character 0x0000 in
    the input data.
    
     BUSINESS IMPACT:
     The null characters halt Dataload and prevent other data from
    being loaded
    
     RECOMMENDATION:
    

Problem conclusion

  • The code has been updated to skip over the records that contain
    null characters and continue processing the remainder of the
    file according to the maxError setting.
    
    
     -------------------------------------------------------------
     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

    JR46524

  • Reported component name

    WC EXP EDITION

  • Reported component ID

    5724I3600

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-02

  • Closed date

    2013-06-20

  • Last modified date

    2013-06-20

  • 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 EXP EDITION

  • Fixed component ID

    5724I3600

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZMJX","label":"WebSphere Commerce - Express"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 June 2013