APAR status
Closed as program error.
Error description
In IBM Developer for z Systems 14.1.7, the user build will return a java.lang.NullPointerException when a property used as a conditional is not defined. The error is: UserBuildJob - Caught exception while running user build operation: null java.lang.NullPointerException  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition$Eq ualsCondition.execSelfCondition(AntCondition.java:614)  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition.co mputeCondition(AntCondition.java:84)  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition.ru nCondition(AntCondition.java:71)  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition$An dConditon.execChildrenConditions(AntCondition.java:385)  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition.co mputeCondition(AntCondition.java:84)  at com.ibm.teamz.internal.zide.core.build.condition.AntCondition.ru nCondition(AntCondition.java:71)  at com.ibm.teamz.zide.ui.util.UserBuildUtil.isValidForCondition(Use rBuildUtil.java:3321)  at com.ibm.teamz.zide.ui.util.UserBuildUtil.getTranslatorMap(UserBu ildUtil.java:410)  at com.ibm.teamz.zide.ui.operations.UserBuildJob.generateJCL(UserBu ildJob.java:329)  at com.ibm.teamz.zide.ui.operations.UserBuildJob.run(UserBuildJob.j ava:153)  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Local fix
Problem summary
UserBuildJob - Caught exception while running user build operation: null java.lang.NullPointerException at com.ibm.teamz.internal.zide.core.build.condition.AntCondition$Eq ualsCondition.execSelfCondition ... Seen when running User Build.
Problem conclusion
The user build script uses a property in a conditional when the property is not defined. The user build will return a java.lang.NullPointerException in this error case. Properly, the condition and user build script should instead fail and not show a NullPointerException in the error. The user build script needs to be corrected to not use the property, or the property needs to be defined, in order for the user build to possibly complete the condition successfully.
Temporary fix
Comments
APAR Information
APAR number
PH18453
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
2019-10-23
Closed date
2019-12-10
Last modified date
2019-12-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
[{"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":"E10","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
27 October 2020