APAR status
Closed as program error.
Error description
In IBM Developer for z (IDz) we get a NullPointerException (NPE) if an assembler macro is not properly terminated with a MEND statement. The Assembler itself gives a severity 12 error message - "ASMA119S Too few MEND statements in COPY code" but IDz gives a java.lang.NullPointerException at com.ibm.dmh.scan.classify.utils.FileTypeClassification.classifyA sm(FileTypeClassification.java:51) sample macro to illustrate the problem - MACRO TESTMAC1 &BUILD=NO LCLA &C TEST VAR &C SETC 'TEST1' SET TEST VAR Note that SETC is the last statement; it is not followed by MEND.
Local fix
Manually set the file type to ".mac"; then it opens okay, and gives a warning message ("Expecting MEND") instead of NPE.
Problem summary
NPE caused by code downstream, outside of product team.
Problem conclusion
Updated classify-scanner component to latest.
Temporary fix
Comments
APAR Information
APAR number
PH28480
Reported component name
DEV FOR Z/OS
Reported component ID
5724T0700
Reported release
E20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-08-13
Closed date
2022-03-10
Last modified date
2022-03-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
DEV FOR Z/OS
Fixed component ID
5724T0700
Applicable component levels
[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"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":"E20"}]
Document Information
Modified date:
11 March 2022