IBM Support

PM55234: Evaluating absolute XPath expression against top-down constructed SDO may trigger ClassCastException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The problem occurs when attempting to evaluate an absolute XPath
    expression against a programmatically constructed Service Data
    Object which contains many-valued properties.
    
    ****************
    
    12/15/11 8:05:32:984 EST] 0000005b ProcessEngine I   CWWBE0069E:
    An
    error occurred during the selection of object
    'arrayOfStrings[1]'.
    com.ibm.bpe.plugins.DataXPathEvaluationFailedException:
    CWWBS0072E: The XPath expression evaluation failed:
    arrayOfStrings[1]  java.lang.ClassCastException:
    com.ibm.xml.sdo.model. TracingFastAccessCursor incompatible with
    com.ibm.xml.xci.dp.cache.dom.DOMCachedNode
    ****************************
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the Service Data Object (SDO) API  *
    *                  in IBM WebSphere Application Server V8.0    *
    *                  and WebSphere Process Server                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Evaluating an absolute XPath            *
    *                      expression against a top-down           *
    *                      constructed Service Data Object may     *
    *                      trigger ClassCastException              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem occurs when attempting to evaluate an absolute
    XPath expression against a programmatically constructed
    Service Data Object which contains many-valued properties.
    An error such as the following may be seen:
    CWWBE0069E: An error occurred during the selection of object
    '<absolute XPath expression>'.
    com.ibm.bpe.plugins.DataXPathEvaluationFailedException:
    CWWBS0072E: The XPath expression evaluation failed:
    <absolute XPath Expression>  java.lang.ClassCastException:
    com.ibm.xml.sdo.model.FastAccessCursor incompatible with
    com.ibm.xml.xci.dp.cache.dom.DOMCachedNode
    With tracing enabled, it can be observed that the exception
    occurs in the CacheManager class as shown in the following
    stack trace:
    java.lang.ClassCastException:
    com.ibm.xml.sdo.model.TracingFastAccessCursor incompatible
    with com.ibm.xml.xci.dp.cache.dom.DOMCachedNode
    at
    com.ibm.xml.xci.dp.cache.dom.CacheManager.treatAsRoot(CacheManag
    er.java:1922)
    at
    com.ibm.bpe.xpathservice.impl.xci.XPathServiceImpl.evaluate(XPat
    hServiceImpl.java:489)
    at
    com.ibm.bpe.xpatheval.BasicXPathEvaluator.evaluate(BasicXPathEva
    luator.java:143)
    at
    com.ibm.bpe.engine.BpelActivityKindAssign.copyFromSpecVariablePa
    rtQuery(BpelActivityKindAssign.java:749)
    at
    com.ibm.bpe.engine.BpelActivityKindAssign.copyFromSpecVariablePa
    rtQuery(BpelActivityKindAssign.java:589)
    at
    com.ibm.bpe.engine.BpelActivityKindAssign.doActivate(BpelActivit
    yKindAssign.java:139)
    at
    com.ibm.bpe.engine.BpelActivityStateInactive.activateOrSkip(Bpel
    ActivityStateInactive.java:280)
    at
    com.ibm.bpe.engine.BpelEngineCore.continueControlLink(BpelEngine
    Core.java:290)
    at
    com.ibm.bpe.engine.BpelContinueLinkMessage3.execute(BpelContinue
    LinkMessage3.java:88)
    at
    com.ibm.bpe.engine.ProcessEngine.onMessage(ProcessEngine.java:15
    27)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM55234

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-03

  • Closed date

    2012-01-04

  • Last modified date

    2012-01-04

  • APAR is sysrouted FROM one or more of the following:

    PM54591

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021