PI72431: IBM RATIONAL DEVELOPER FOR Z SYSTEMS (RDZ/IDZ) EDITING A COBOL PROGRAM MAY CAUSE AN ARRAYINDEXOUTOFBOUNDS EXCEPTION
Fixes are available
Rational Developer for System z Fix Pack 4 (220.127.116.11) for 9.5.1.
Rational Developer for System z Fix Pack 5 (18.104.22.168) for 9.5.1.
Rational Developer for System z Fix Pack 5 (22.214.171.124) for 9.5.1.
Rational Developer for z Systems Fix Pack 7 (126.96.36.199) for 9.5.1.
Rational Developer for z Systems Fix Pack 8 (188.8.131.52) for 9.5.1.
Rational Developer for z Systems Fix Pack 9 (184.108.40.206) for 9.5.1.
Closed as program error.
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
Editing a COBOL program may cause an ArrayIndexOutOfBounds Exception when sequence numbers are present and certain optional paragraphs are present in the IDENTIIFICATION DIVISION.
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 V220.127.116.11 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Reported component name
DEV FOR Z SYS
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
DEV FOR Z SYS
Fixed component ID
Applicable component levels