APAR status
Closed as program error.
Error description
IBM Developer for z Systems - IDz - v14.1.3.1 When selecting code coverage from right click of member in zUnit Testing, the following java exception is displayed : "Open coverage report for xxxxxx has encountered a problem". !ENTRY com.ibm.debug.pdt.codecoverage.ui.view 1 0 2019-12-12 10:24:02.497 !MESSAGE CRRDG7298E Error message text : Array index out of range: 1 This happens when the source code is declared as below : PROGRAM-ID. XXXXXX.
Local fix
The work around for this is to ensure the PROGRAM-ID declaration is stated in one line, such as PROGRAM-ID. 'XXXXXX'. or PROGRAM-ID. XXXXXX.
Problem summary
**************************************************************** * USERS AFFECTED: * * All users who uses Code Coverage and has COBOL program-id * * split over multiple lines. * **************************************************************** * PROBLEM DESCRIPTION: * * When running Code Coverage on COBOL source with PROGRAM-ID * * split over multiple lines, there is error with message: * * MESSAGE CRRDG7298E Error message text : Array index out of * * range: 1 * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Code Coverage runner was modified to ensure not to throw exception when PROGRAM-ID of a COBOL source is split over multiple lines. This issue is fixed in v14.2.3 and v14.1.11 of the following product: IBM Debug for z/OS IBM Developer for z/OS IBM Developer for z/OS Enterprise Edition IBM Z Open Unit Test
Temporary fix
Comments
APAR Information
APAR number
PH22861
Reported component name
DEV FOR Z/OS
Reported component ID
5724T0700
Reported release
E10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-03-03
Closed date
2020-08-06
Last modified date
2020-08-06
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/OS
Fixed component ID
5724T0700
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
27 October 2020