IBM Support

IT40492: BIP2111 EXCEPTION WHEN DEBUGGING ESQL IF A REFERENCE VARIABLE CHANGES TYPE

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

  • When a debugger is attached and is stepping through ESQL code,
    if there is a reference variable which changes type (e.g. it
    originally was a reference to a variable and is now a reference
    to a field) then a BIP2111 exception will be thrown when trying
    to step past the point where the reference changes type. The
    following ESQL demonstrates the issue
    
    DECLARE dummyVariable INTEGER 0;
    -- myReference is a reference to a variable
    DECLARE myReference REFERENCE TO dummyVariable;
    
    CREATE LASTCHILD OF OutputRoot.JSON.Data NAME 'myValue' VALUE 42
    AS myReference;
    
    -- myReference is now a reference to a field, attempting to
    pause
    -- the debugger after this point will cause a BIP2111 exception
    RETURN TRUE;
    

Local fix

  • Do not enable or attach the debugger, do not continue debugging
    ESQL after the point where a reference variable changes type, or
    do not debug ESQL code containing references that change type.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users who debug ESQL code using the toolkit in IBM App
    Connect Enterprise v11 and v12
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When a debugger is attached and is stepping through ESQL code,
    if there is a reference variable which changes type (e.g. it
    originally was a reference to a variable and is now a reference
    to a field) then a BIP2111 exception will be thrown when trying
    to step past the point where the reference changes type. The
    following ESQL demonstrates the issue
    
    DECLARE dummyVariable INTEGER 0;
    -- myReference is a reference to a variable
    DECLARE myReference REFERENCE TO dummyVariable;
    
    CREATE LASTCHILD OF OutputRoot.JSON.Data NAME 'myValue' VALUE 42
    AS myReference;
    
    -- myReference is now a reference to a field, attempting to
    pause
    -- the debugger after this point will cause a BIP2111 exception
    RETURN TRUE;
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT40492

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-04-04

  • Closed date

    2022-10-07

  • Last modified date

    2022-10-07

  • 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

    5724J0550

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

Document Information

Modified date:
08 October 2022