IBM Support

PM42020: local comparison of two COBOL files fails with IndexOutOfBoundsException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM RationalDeveloper for System Z 8.0.2
    Comparing two local COBOL files fails. An empty comparison
    editor opens.
    C:\<workspace>\.metadata\.log shows the error:
    
    !ENTRY org.eclipse.ui 4 0 2011-06-10 16:48:38.887
    !MESSAGE Unable to create editor ID
    org.eclipse.compare.CompareEditor: Index: 0, Size: 0
    !STACK 0
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at java.util.ArrayList.get(Unknown Source)
     at
    com.ibm.systemz.common.editor.parse.SectionedPrsStream.getTokenI
    ndex(Unknown
    Source)
     at
    com.ibm.systemz.cobol.editor.jface.parse.CobolTextStylingHelper.
    isPreprocessorKeyword(Unknown
    Source)
     at
    com.ibm.systemz.cobol.editor.jface.parse.CobolTokenUtils.getText
    Style(Unknown
    Source)
     at
    com.ibm.systemz.cobol.editor.jface.parse.CobolTokenScanner.getTe
    xtStyle(Unknown
    Source)
     at
    com.ibm.systemz.common.jface.editor.parse.TokenScanner$LpgRangeT
    oken.getData(Unknown
    Source)
     at
    com.ibm.systemz.common.jface.editor.parse.TokenScanner.nextToken
    (Unknown
    Source)
    

Local fix

  • Compare of remote datasets from a Z/OS project works.
    

Problem summary

  • An occasional timing issue can prevent the COBOL Compare Editor
    from initializing
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM42020

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-20

  • Closed date

    2011-10-14

  • Last modified date

    2011-10-14

  • 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 DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R803 PSY

       UP

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

Document Information

Modified date:
14 October 2011