IBM Support

PI41959: EXCEPTION RETRIEVING THE VALUE OF A NILLED ELEMENT IN ORDER TO PASS TO A JAVA EXTENSION FUNCTION.

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

  • Attempting to retrieve the value of a nilled element in order
    to pass to a Java extension function results in exception
    Caused by: java.lang.IndexOutOfBoundsException: [IXJCI0024E]
    Empty sequence has no items.
    at
    com.ibm.xml.xci.dp.util.EmptyCData.getString(EmptyCData.java:10
    6)
    at
    com.ibm.xml.xci.exec.BasicMutableDynamicContext.getAtomicArgume
    nt (BasicMutableDynamicContext.java:418)
    at
    com.ibm.xml.xci.exec.BasicMutableDynamicContext.getJavaArgs(Bas
    icMutableDynamicContext.java:373)
    at
    com.ibm.xltxe.rnm1.xtq.xslt.runtime.v2.BasisLibrary2.invokeJava
    MemberF(BasisLibrary2.java:5215)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature Pack for XML users                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Exception retrieving the value of a     *
    *                      nilled element in order to pass to a    *
    *                      Java extension function.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Attempting to retrieve the value from VolatileCData of type
    EmptyCData in order to pass to Java extension function
    results in the following exception:
    Caused by: java.lang.IndexOutOfBoundsException: [IXJCI0024E]
    Empty sequence has no items.
    at
    com.ibm.xml.xci.dp.util.EmptyCData.getString(EmptyCData.java:106
    )
    at
    com.ibm.xml.xci.exec.BasicMutableDynamicContext.getAtomicArgumen
    t (BasicMutableDynamicContext.java:418)
    at
    com.ibm.xml.xci.exec.BasicMutableDynamicContext.getJavaArgs(Basi
    cMutableDynamicContext.java:373)
    at
    com.ibm.xltxe.rnm1.xtq.xslt.runtime.v2.BasisLibrary2.invokeJavaM
    emberF(BasisLibrary2.java:5215)
    

Problem conclusion

  • Nilled elements would have a size less than 1. The algorithm
    was corrected to check the size of the CData before attempting
    to retrieve the value.
    
    The fix for this APAR is currently targeted for inclusion in
    Feature Pack for XML 1.0.0.17. 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

    PI41959

  • Reported component name

    XML FEATUREPACK

  • Reported component ID

    5724J0856

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-05-28

  • Closed date

    2015-07-21

  • Last modified date

    2015-07-21

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

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

    PI42231

Fix information

  • Fixed component name

    XML FEATUREPACK

  • Fixed component ID

    5724J0856

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","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022