IBM Support

IT45186: CICS POLICIES WITH A MISSING GATEWAY URL MAY FAIL WITH BIP4395

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

  • If a CICSRequest Node is deployed which  references a policy
    with a missing gatewayURL property then the following errors may
    occur:
    
    BIP4367E: The method 'onSetup' in Java node 'NodeName' has
    thrown the following exception:
    java.lang.StringIndexOutOfBoundsException: begin 0, end -1,
    length 0. The method 'onSetup' of the Java node has thrown an
    exception. Examine previous error messages for details of the
    cause of the problem. This error is generated by the Java node
    API. It can occur in a Java Compute node or a Java user-defined
    node. If the node is a user-defined node, contact the node
    provider for further details.
    
    BIP4395E: Java exception:
    'java.lang.StringIndexOutOfBoundsException'; thrown from class
    name: 'java.lang.String', method name: 'substring', file:
    'String.java', line: '2744' The message contains that data
    associated with a Java exception. No user action required.
    
    This may  happen during migration from  previous  versions of
    IBM Integration  Bus  where the default value for  the
    gatewayURL property was treated  as the empty  string.
    

Local fix

  • Modify the policy to set the value 'local:' in the gateway URL
    property
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM App Connect Enterprise using the CICS Request
    Node.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If a CICSRequest Node is deployed which references a policy with
    a missing gatewayURL property then the following errors may
    occur:
    
    BIP4367E: The method 'onSetup' in Java node 'NodeName' has
    thrown the following exception:
    java.lang.StringIndexOutOfBoundsException: begin 0, end -1,
    length 0. The method 'onSetup' of the Java node has thrown an
    exception. Examine previous error messages for details of the
    cause of the problem. This error is generated by the Java node
    API. It can occur in a Java Compute node or a Java user-defined
    node. If the node is a user-defined node, contact the node
    provider for further details.
    
    BIP4395E: Java exception:
    'java.lang.StringIndexOutOfBoundsException'; thrown from class
    name: 'java.lang.String', method name: 'substring', file:
    'String.java', line: '2744' The message contains that data
    associated with a Java exception. No user action required.
    
    This may happen during migration from previous versions of IBM
    Integration Bus where the default value for the gatewayURL
    property was treated as the empty  string.
    

Problem conclusion

  • The error no longer occurs when the gatewayURL is missing, in
    these circumstances the default gatewayURL of "local:" is used
    instead.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v12.0      12.0.12.0
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT45186

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-12-22

  • Closed date

    2024-01-10

  • Last modified date

    2024-01-10

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 January 2024