A fix is available
APAR status
Closed as program error.
Error description
Environment: Windows Product name: IBM? Rational? Business Developer Program Version : 8.0.1.2 Description. Running Java code generated for an EGL program where an exception is thrown by an ExternalType referring to a handwritten Java class in a called program the diagnostic message output points to an incorrect location for the error, if the called program does not specifically handle the error. The example EGL code within a project implements like: Program MainProg (function main) -? calls program CalledProg (function main) -? calls function foo() (a nested function within program CalledProg) -?calls static function ''doSomethingThatThrowsAnException()' defined in externalType 'SomeJavaClass' This calls method ''doSomethingThatThrowsAnException()' in Java Class testcase.javacode.SomeJavaClass, which throws a NullPointerException at runtime with the output message: 'EGL0150E An error occurred calling the CalledProg program. Error: java.lang.NullPointerException EGL0003I The error occurred in the MainProg program processing the main (JavaCallProblem\EGLSource\testcase\MainProg.egl) function at line 6.' This is incorrect since the error occurred processing the foo function in JavaCallProblem\EGLSource\testcase\CalledProg.egl at line 10 Running the same application via the EGL debugger the NullPointerException is returned as CalledProg.egl at line 10 ie SomeJavaClass.doSomethingThatThrowsAnException(); as expected.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Running Java code generated for an EGL program where an exception is thrown by an ExternalType referring to a handwritten Java class in a called program, the diagnostic message output points to an incorrect location for the error, if the called program does not specifically handle the error.
Problem conclusion
The problem has been fixed.
Temporary fix
Comments
APAR Information
APAR number
PM48674
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-09-26
Closed date
2012-01-27
Last modified date
2012-01-27
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
R751 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
28 October 2021