IBM Support

PM14959: A NULLPOINTEREXCEPTION IS THROWN IF AN EMPTY SEQUENCE IS PASSED TO AN EXTERNAL JAVA FUNCTION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an empty sequence is passed to an external Java method a
    NullPointerException will be thrown.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of the IBM WebSphere Application  *
    *                  Server v7.0 Feature Pack for XML 1.0.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown if an  *
    *                      empty sequence is passed to an          *
    *                      external Java method.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an empty sequence is passed to an external Java method a
    NullPointerException will be thrown.
    

Problem conclusion

  • The code has been fixed to properly handle empty sequences
    passed to an external Java method depending on the expected
    argument type.  For example, if the expected argument type is
    a NodeList then an empty NodeList will be passed to the Java
    method, if the expected argument type is an XSequenceCursor
    then null will be passed to the Java method, if the expected
    argument type is a Java array then an empty array will be
    passed to the Java method, etc.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 1.0.0.7. 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

    PM14959

  • Reported component name

    XML FEATUREPACK

  • Reported component ID

    5724J0856

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-20

  • Closed date

    2010-06-04

  • Last modified date

    2010-06-04

  • 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

    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