IBM Support

JR45366: XPATH FUNCTION WITH LIST PARAMETER DOES NOT WORK.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • XPATH FUNCTION WITH LIST PARAMETER DOES NOT WORK.
    .
    XPath function that takes a list-typed parameter is not callable
    in an XPath expression of a BPEL process but ends with a
    java.lang.IllegalArgumentException.
    

Local fix

Problem summary

  • Problem Description:
    XPath function with list parameter does not work.
    
    Problem Summary:
    When an XPath function that takes a list as parameter is called,
    the code converting the XCI cursor representing the list
    parameter is
    missing. As a result an IllegalArgumentException as the
    following is thrown:
    
    
    java.lang.IllegalArgumentException: argument type mismatch
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    com.ibm.bpe.xpath.XPathEvaluator$XPathServiceGeneralExtensionFun
    ction.execute(XPathEvaluator.java:991)
     at
    com.ibm.bpe.xpathservice.impl.xci.XCIFunctionWrapper.execute(XCI
    FunctionWrapper.java:128)
     at
    com.ibm.xml.xci.exec.BasicDynamicContext$ExternalFunction.execut
    e(BasicDynamicContext.java:361)
     at
    XPathModule_Common_Partition0.xslt2$24$getReturnAsXCICursor(com_
    ibm_xmlns_prod_xltxe_j_linetable)
     at
    XPathModule_Common_Partition0.XPathModule$24$__xpath_function__(
    com_ibm_xmlns_prod_xltxe_j_linetable:6)
     at
    XPathModule_Common_Partition0.XPathModule$24$__xpath_main__(com_
    ibm_xmlns_prod_xltxe_j_linetable)
     at XPathModule.evaluate(XPathModule.java)
     at
    com.ibm.xltxe.rnm1.xtq.xpath.drivers.XPathExecutable.execute(XPa
    thExecutable.java:159)
     at
    com.ibm.xltxe.rnm1.xtq.xpath.drivers.XPathExecutable.execute(XPa
    thExecutable.java:92)
     at
    com.ibm.bpe.xpathservice.impl.xci.XPathServiceImpl.evaluate(XPat
    hServiceImpl.java:523)
     at
    com.ibm.bpe.xpathservice.impl.xci.XPathServiceImpl.evaluateAllow
    FieldIsNotSet(XPathServiceImpl.java:454)
     at
    com.ibm.bpe.xpatheval.BasicXPathEvaluator.evaluateAllowFieldIsNo
    tSet(BasicXPathEvaluator.java:170)
     at
    com.ibm.bpe.engine.BpelActivityKindAssign.copyFromSpecExpression
    (BpelActivityKindAssign.java:1016)
     at
    com.ibm.bpe.engine.BpelActivityKindAssign.copyFromSpecExpression
    (BpelActivityKindAssign.java:933)
     at
    com.ibm.bpe.engine.BpelActivityKindAssign.doActivate(BpelActivit
    yKindAssign.java:153)
     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.processInternalMessages(Process
    Engine.java:8921)
     at
    com.ibm.bpe.framework.EngineMessageExecutionWorkObject.processAl
    lEngineMessages(EngineMessageExecutionWorkObject.java:316)
     at
    com.ibm.bpe.framework.EngineMessageExecutionWorkObject.run(Engin
    eMessageExecutionWorkObject.java:217)
    
    Problem Conclusion:
    With this fix the code converting the XCI cursor to a Java list
    is added.
    

Problem conclusion

  • Problem fixed
    iFix available on top V801 GA
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45366

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-11

  • Closed date

    2013-02-06

  • Last modified date

    2013-02-06

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021