IBM Support

PH28223: STRINGINDEXOUTOFBOUNDS EXECEPTION OCCURS DURING POLICYSET ATTACHMENT.

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

  • Extraneous binding file in application META-INF can cause
    StringIndexOutOfBounds during policy-set attachement.
    

Local fix

  • Remove the extraneous binding.xml file from the application
    META-INF directory.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  Web services policy set configuration       *
    ****************************************************************
    * PROBLEM DESCRIPTION: StringIndexOutOfBoundsException occurs  *
    *                      when attaching policy set               *
    *                      bindings using Admin Console            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When attaching policy set bindings to a Web services
    application using Administrative Console, the following
    exception may occur:
    PolicySetAtta 3   PolicySetAttachmentCollectionAction: Failed
    in assigning the binding for:
    PlcyUtility/PlcyUtility.war:{http://www.testpolicygrp.com/policy
    model/wx}PolicyObjectManagerService -
    java.lang.StringIndexOutOfBoundsException: String index out of
    range: 0
    

Problem conclusion

  • The Web services code assumes that the bindings.xml file is
    packaged under the META-INF/PolicySets directory, but since
    bindings.xml was incorrectly packaged under META-INF, it caused
    StringIndexOutOfBoundsException when the policy set code tried
    to read the bindings.xml file.
    The policy set code is updated to ignore any extraneous
    bindings.xml files that are incorrectly packaged in the
    application.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.7 and 8.5.5.19. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH28223

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-05

  • Closed date

    2020-11-18

  • Last modified date

    2020-11-18

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850"}]

Document Information

Modified date:
19 November 2020