IBM Support

PM18986: Debugging called programs with redefined PCB?s terminates with A rrayIndexOutOfBoundsException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Windows
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  7.1.0.4
    Description.
    Debugging called programs with redefined PCB?s isn?t possible as
     the debugger terminates with a dialog box containing an java.la
    ng.ArrayIndexOutOfBoundsException.
    
    Sample code passing PCB-data to a called program to reproduce ex
    ception:
    
    main program y4b086_2
      call y4f086d_ok -? contains PCB definition without redefines
          record py4f086d_ok type PsbRecord
          //    -----------------------------
          pcba      db_PcbRecord      {@pcb {pcbType = db, pcbName =
    'DB000001' }};
          end
      call y4f086d_nok -? contains PCB definition WITH redefines
          record py4f086d_nok type PsbRecord
          //    -----------------------------
          pcba      db_PcbRecord      {@pcb {pcbType = db, pcbName =
    'DB000001' }};
          pcbb DB_PCBRecord { redefines = pcba };
          end
    
    When the debugger enters the call to y4f086d_nok with the redefi
    nes the ArrayIndexOutOfBoundsException is thrown and debugger te
    rminates.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The size of the pcb annotation was not being checked, when
    the number of PCB in the PSB exceeded the annotation size an
    exception occurred.
    

Problem conclusion

  • Added code to not access illegal values.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM18986

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-07-22

  • Closed date

    2011-08-10

  • Last modified date

    2011-08-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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R710 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
10 August 2011