Fixes are available
Rational Developer for System z Fix Pack 4 (9.5.1.4) for 9.5.1.
Rational Developer for System z Fix Pack 5 (9.5.1.5) for 9.5.1.
Rational Developer for System z Fix Pack 5 (9.5.1.6) for 9.5.1.
Rational Developer for z Systems Fix Pack 7 (9.5.1.7) for 9.5.1.
Rational Developer for z Systems Fix Pack 8 (9.5.1.8) for 9.5.1.
Rational Developer for z Systems Fix Pack 9 (9.5.1.9) for 9.5.1.
Rational Developer for z Systems Fix Pack 10 (9.5.1.10) for 9.5.1.
Rational Developer for z Systems Fix Pack 11 (9.5.1.11) for 9.5.1.
Rational Developer for z Systems Fix Pack 12 (9.5.1.12) for 9.5.1.
APAR status
Closed as program error.
Error description
IBM Rational Developer for System z - RDz - v9.5.1 IBM Developer for z Systems - IDz - v14 The handling of adjuncts (comments, sequence numbers, resolved copy statements, resolved replace statements) in the incremental parse may cause this exception. When you save a file, the cobol editor will throw away everything and do a fresh, complete parse, but when you edit the file, the editor tries to save time by only re-parsing the part of the program where the edit takes place. Therefore, the editor keeps the portions of the parse structure and tries to adjust them as necessary. There are problems keeping track of adjuncts in the edit scenario. To recreate: Turn on Finest for the following settings in Windows > Preferences > Tracing: Select the following Tracer Names one a a time and right click on the Tracing Level to set to Finest: com.ibm.ftt.common.language.cobol com.ibm.ftt.common.language.manager com.ibm.systemz.cobol.editor.core com.ibm.systemz.common.editor The following exception can be found in the .trace file: com.ibm.systemz.common.jface.editor.parse.ReconcilingStrategy com.ibm.systemz.common.editor(FINE): parseAll()null java.lang.ArrayIndexOutOfBoundsException at java.util.ArrayList.elementData at java.util.ArrayList.get at com.ibm.systemz.cobol.editor.core.parser. CobolPrsStream.getReplaceStrings
Local fix
Problem summary
Editing a COBOL program may cause an ArrayIndexOutOfBounds Exception when sequence numbers are present and certain optional paragraphs are present in the IDENTIIFICATION DIVISION.
Problem conclusion
Modified incremental parser to properly handle comment and sequence number indices when optional paragraphs are present in the IDENTIFICATION DIVISION. The problem listed in this APAR has been resolved with IBM Rational Developer for z Systems V9.5.1.4 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Temporary fix
Comments
APAR Information
APAR number
PI72431
Reported component name
DEV FOR Z SYS
Reported component ID
5724T0700
Reported release
951
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-11-16
Closed date
2017-02-23
Last modified date
2017-02-23
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
DEV FOR Z SYS
Fixed component ID
5724T0700
Applicable component levels
R951 PSY
UP
Document Information
Modified date:
19 October 2021