IBM Support

JR45509: CMVC 226361 - ADDRESS A NULLPOINTER EXCEPTION THAT OCCURS WHEN A BOD RESPONSE DOES NOT CONTAIN A DESCRITPION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an exception occurs during the processing of a message, and
    the Description element is not populated, you will see the
    following exception in the SystemOut.log file:
    
    
                                     java.lang.NullPointerException
        at
    com.ibm.commerce.foundation.client.facade.bod.AbstractBusinessOb
    jectDocumentException.<init>(AbstractBusinessObjectDocumentExcep
    tion.java:118)
        at
    com.ibm.commerce.order.facade.client.OrderException.<init>(Order
    Exception.java:53)
        at
    com.ibm.commerce.order.facade.server.external.AbstractExternalOr
    derFacadeClient.checkAcknowledgeOrder(AbstractExternalOrderFacad
    eClient.java:184)
        at
    com.ibm.commerce.order.facade.server.external.ExternalOrderFacad
    eClient.processOrder(ExternalOrderFacadeClient.java:233)
    
    
    
    The Description element is found in the 'ChangeStatus' area of
    an error response from Commerce.
    
    For example:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <_mbr:AcknowledgePerson releaseID="9.0"
     xmlns:_mbr="http://www.ibm.com/xmlns/prod/commerce/9/member"
     xmlns:_wcf="http://www.ibm.com/xmlns/prod/commerce/9/foundation
    "
     xmlns:oa="http://www.openapplications.org/oagis/9"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <oa:ApplicationArea xsi:type="_wcf:ApplicationAreaType">
      <oa:CreationDateTime>2009-07-20T15:28:12.968Z
      </oa:CreationDateTime>
      <oa:BODID>efcd3260-7541-11de-a99e-83c74a648a93
      </oa:BODID>
     </oa:ApplicationArea>
     <_mbr:DataArea>
      <oa:Acknowledge>
       <oa:OriginalApplicationArea>
        <oa:CreationDateTime>2009-07-20Z</oa:CreationDateTime>
        <oa:BODID>ef9188f0-7541-11de-a590-83c74a648cf4
        </oa:BODID>
       </oa:OriginalApplicationArea>
       <oa:ResponseCriteria>
        <oa:ChangeStatus>
         <oa:Code>ERROR</oa:Code>
         <oa:Description>The Logon ID user123 already exists.
    Specify a
          different Logon ID and try again.</oa:Description>
         <oa:ReasonCode>_ERR_LOGONID_ALREDY_EXIST+2030
         </oa:ReasonCode>
         <oa:Reason>user123</oa:Reason>
        </oa:ChangeStatus>
       </oa:ResponseCriteria>
      </oa:Acknowledge>
     </_mbr:DataArea>
    </_mbr:AcknowledgePerson>
    
    
    
    This type of message is described in the WebSphere Commerce
    Information Center:
    
    WebSphere Commerce services error information
    http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.co
    mmerce.component-services.doc/concepts/cwvreturnerrorinfo.htm
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 leveraging BOD services.
    
    PROBLEM ABSTRACT:
    A NullPointerException is thrown when a BOD response has a null
    Description element.
    
    BUSINESS IMPACT:
    The NullPointerException in the logs can be confusing to system
    administrators
    
    RECOMMENDATION:
    

Problem conclusion

  • Check whether the Description element is null, and only get the
    value from it when it is not null.
    
    -------------------------------------------------------------
    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

    JR45509

  • 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

    2013-01-24

  • Closed date

    2013-03-07

  • Last modified date

    2013-03-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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 March 2013