APAR status
Closed as program error.
Error description
Environment: - OS (name, language, version or SP): Microsoft Windows XP SP2 - Product name (Build ID or version/patch level): IBM Rational Business Developer v7101 Reproducible Y/N: Y Description of problem: When generating Java code for an EGL part, the following error i s raised on the 'EGL Generation Results' view: IWN.VAL.9994.i 1/1 Generating part test.Test with build descript or a37357EGLIfPbJavaBuildOptions from file \37357EGLIfPb\EGLSour ce\a37357EGLIfPb.eglbld. IWN.VAL.9998.e 0/0 Exception occurred: java.lang.NullPointerExce ption IWN.VAL.9999.e 0/0 Stack Trace: com.ibm.etools.egl.java.JavaGenE xception: java.lang.NullPointerException IWN.VAL.9999.e 0/0 Stack Trace: at com.ibm.etools.egl.java .statements.StatementAnalyzer.needHelperForInExpression(Unknown Source) IWN.VAL.9999.e 0/0 Stack Trace: at com.ibm.etools.egl.java .statements.StatementAnalyzer.visit(Unknown Source) ... Steps to reproduce: 1) Create a program with the following code which works in v6 an d doesn't give any error in v71 neither on the EGL Editor nor th e Problems view: package test; // basic program // Record MYREC type BasicRecord co_domaine_id char(3); end program Test type BasicProgram {} function main() ai_rec_dl_inscriptions_bzi MYREC; ai_rec_dl_inscriptions_bzi.co_domaine_id='002'; SysLib.writeStdout('id='+ai_rec_dl_inscriptions_ bzi.co_domaine_id); if (ai_rec_dl_inscriptions_bzi.co_domaine_id in ['001', '002', '003', '004', '006', '007', '008', '009', '011', '101', '102']) SysLib.writeStdout('match'); else SysLib.writeStdout('doesn't match'); end end end 2) Generate the Java code
Local fix
Problem summary
The EGL debugger and Java generator would both fail with a NullPointerException when they encountered an IN expression that had an array literal on its right side.
Problem conclusion
The problem has been fixed.
Temporary fix
Comments
APAR Information
APAR number
PK75062
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-11-05
Closed date
2008-12-15
Last modified date
2008-12-15
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
RATL BUS DEV
Fixed component ID
5724S5000
Applicable component levels
R710 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
15 December 2008