IBM Support

JR51427: IndexOutOfBoundsException when changing sequence of defining att ribute

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If KeepAssignedAttributeValueLocal=true in
    wc-business-object-mediator.xml, an error like the following
    occurs when trying to change the sequence of a defining
    attribute at product level:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at java.util.ArrayList.get(ArrayList.java:352)
     at
    com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.m
    ediator.ChangeCatalogEntryAttributesMediator.createPhysicalFreeF
    ormValueFromExisting(ChangeCatalogEntryAttributesMediator.java:7
    50)
     at
    com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.m
    ediator.ChangeCatalogEntryAttributesMediator.updateForAttrDict(C
    hangeCatalogEntryAttributesMediator.java:473)
     at
    com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.m
    ediator.ChangeCatalogEntryAttributesMediator.update(ChangeCatalo
    gEntryAttributesMediator.java:1104)
     at
    com.ibm.commerce.foundation.server.command.bod.bom.AbstractChang
    eNounPartUsingBusinessObjectMediatorCmdImpl.change(AbstractChang
    eNounPartUsingBusinessObjectMediatorCmdImpl.java:381)
     at
    com.ibm.commerce.foundation.server.command.bod.AbstractChangeNou
    nPartActionCmdImpl.performExecute(AbstractChangeNounPartActionCm
    dImpl.java:180)
    

Local fix

  • Set KeepAssignedAttributeValueLocal=false in
    wc-business-object-mediator.xml
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce v7.0.0.8 users with JR50043 installed
    
    PROBLEM ABSTRACT:
    IndexOutOfBoundsException when changing sequence of defining
    attribute
    
    BUSINESS IMPACT:
    Sequence of defining attribute may be incorrect at storefront
    
    RECOMMENDATION:
    

Problem conclusion

  • ChangeCatalogEntryAttributesMediator.createPhysicalFreeFormValue
    FromExisting method has been updated to avoid hitting
    IndexOutOfBounds when allowing reuse of assigned value
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR51427

  • 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

    2014-10-03

  • Closed date

    2014-12-22

  • Last modified date

    2014-12-22

  • 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