IBM Support

PI47962: ClassCastException exception can occur in HashIndex when trying to roll back a transaction.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • HashIndex logs the following message when trying to undo
    previously applied changes:
    
    
    HashIndex     W   CWOBJ0006W: An exception occurred:
    com.ibm.websphere.objectgrid.ObjectGridRuntimeException: Caught
    unexpected Throwable during index update processing, index name
    =
    PassSegmentMapPluginHashIndex11: java.lang.ClassCastException:
    [B
    incompatible with
    com.ibm.ws.objectgrid.plugins.io.dataobject.SerializedEntryExten
    sions
    at
    com.ibm.websphere.objectgrid.plugins.index.HashIndex.getComposit
    eAttribu
    te(HashIndex.java:2496)
    at
    com.ibm.websphere.objectgrid.plugins.index.HashIndex.updateIndex
    (HashInd
    ex.java:2638)
    at
    com.ibm.websphere.objectgrid.plugins.index.HashIndex.undoBatchUp
    date(Has
    hIndex.java:2205)
    at
    com.ibm.ws.objectgrid.map.BaseMap.undoApplyPMap(BaseMap.java:310
    5)
    at
    com.ibm.ws.objectgrid.SessionImpl.rollbackPMapChanges(SessionImp
    l.java:2
    676)
    at
    com.ibm.ws.objectgrid.SessionImpl.commit(SessionImpl.java:2188)
    at
    com.ibm.ws.objectgrid.server.impl.ServerCoreEventProcessor.proce
    ssLogSeq
    uence(ServerCoreEventProcessor.java:2091)
    at
    com.ibm.ws.objectgrid.server.impl.ServerCoreEventProcessor.proce
    ssReadWr
    iteTransactionRequest(ServerCoreEventProcessor.java:1776)
    at
    com.ibm.ws.objectgrid.server.impl.ServerCoreEventProcessor.proce
    ssClient
    ServerRequest(ServerCoreEventProcessor.java:2668)
    at
    com.ibm.ws.objectgrid.server.impl.ShardImpl.processMessage(Shard
    Impl.jav
    a:1469)
    at
    com.ibm.ws.objectgrid.server.impl.ShardActor.handleContainerMess
    age(Shar
    dActor.java:513)
    at
    com.ibm.ws.objectgrid.server.impl.ShardActor.receive(ShardActor.
    java:339
    )
    at
    com.ibm.ws.xs.xio.actor.impl.XIOReferableImpl.dispatch(XIORefera
    bleImpl.
    java:110)
    at
    com.ibm.ws.xsspi.xio.actor.XIORegistry.sendToTarget(XIORegistry.
    java:987
    )
    at
    com.ibm.ws.xs.xio.transport.channel.XIORegistryRunnable.run(XIOR
    egistryR
    unnable.java:88)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.jav
    a:1157)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.ja
    va:627)
    at
    com.ibm.ws.objectgrid.thread.XSThreadPool$Worker.run(XSThreadPoo
    l.java:3
    09)
    Caused by: java.lang.ClassCastException: [B incompatible with
    com.ibm.ws.objectgrid.plugins.io.dataobject.SerializedEntryExten
    sions
    at
    com.ibm.websphere.objectgrid.plugins.index.HashIndex.getSerializ
    erCompos
    iteAttribute(HashIndex.java:2579)
    at
    com.ibm.websphere.objectgrid.plugins.index.HashIndex.getComposit
    eAttribu
    te(HashIndex.java:2399)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere eXtreme Scale who use    *
    *                  the HashIndex and DataSerializer (including *
    *                  eXtreme Data Format) functions.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: When trying to roll back previously     *
    *                      applied changes to a HashIndex, a       *
    *                      ClassCastException can occur.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When getting the previous state of the entry to roll back the
    applied change in the index, it got the wrong state from the
    LogElement which can cause a ClassCastException
    exception.
    The HashIndex code was updated to get the right state for the
    previous state of the entry.
    

Problem conclusion

  • An interim fix is available for this APAR upon request.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI47962

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-01

  • Closed date

    2015-09-29

  • Last modified date

    2015-09-29

  • 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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2015