IBM Support

PM07895: WITH A LIST CONTAINING MORE THAN ONE NULL VALUES, CHANGING ONE VALUE TO NON-NULL WILL CHANGE THE REST TO EMPTY STRINGS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With a list containing more than one null value, changing one
    value to non-null will change the rest to empty strings
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM WebSphere Application Server   *
    *                  v7 Feature Pack for Service Component       *
    *                  Architecture (SCA) Refresh Pack v1.0.1 and  *
    *                  WebSphere Process Server v7.0               *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: With a list containing more than one    *
    *                      null value, changing one value to       *
    *                      non-null will change the rest to        *
    *                      empty strings.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem can be described as the code example below.
    
    DataObject dobj =  ¢â‚¬ ¦
    List list = dobj.getList("manyValuedStringProperty");
    list.add(0, null);
    list.add(1, null);
    list.set(1, "Some text"); // ** Will change the value at index
    0 to empty string
    assertNull(list.get(0)); // FAILED
    

Problem conclusion

  • This problem occurs when the list was changed, it refreshed
    the list element value then normalized the null value to the
    empty string. This has been corrected.
    
    APAR PM07895 is currently targeted for inclusion in Service
    Level (Fix Pack) 1.0.1.3 of WebSphere Application Server v7
    Feature Pack for Service Component Architecture (SCA) Refresh
    Pack. Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07895

  • Reported component name

    WAS SCA FEATURE

  • Reported component ID

    5724J0854

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-17

  • Closed date

    2010-04-07

  • Last modified date

    2010-04-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

    WAS SCA FEATURE

  • Fixed component ID

    5724J0854

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022