A fix is available
APAR status
Closed as program error.
Error description
Environment: - Product name (Build ID or version/patch level): IBM Rational Business Developer v7103 Reproducible Y/N: Y Description of problem: When using 'jump to line' in the debugger, the following exception is raised: java.lang.ClassCastException: com.ibm.etools.edt.core.ir.internal.impl.IfStatementImpl incompatible with com.ibm.etools.edt.core.ir.api.TryStatement at com.ibm.etools.egl.interpreter.parts.InterpFunction.positionFram e(InterpFunction.java:349) at com.ibm.etools.egl.interpreter.parts.InterpFunction.reposition(I nterpFunction.java:427) at com.ibm.etools.egl.interpreter.infrastructure.SessionBase.handle JumpToLocation(SessionBase.java:594) at com.ibm.etools.egl.interpreter.infrastructure.InterpretiveDebugS ession.handleJumpToLocation(InterpretiveDebugSession.java:625) at com.ibm.etools.egl.interpreter.infrastructure.InterpretiveDebugS ession.processCommand(InterpretiveDebugSession.java:224) at com.ibm.etools.egl.interpreter.infrastructure.SessionCommandProc essorThread.run(SessionCommandProcessorThread.java:29) This happens when the line to jump to is the 'end' of a 'if'. Steps to reproduce: 1) Create a program like program y4f064 type BasicProgram() {} wy4f064 wy4f064; function main() wy4f064.test = '01'; if(wy4f064.test == '01') SysLib.writeStdout('It is 01'); SysLib.writeStdout('IF can be closed now'); end end 2) Stop at line 5 if(wy4f064.test == '01') in the Debuuger 3) Jump to line 8: exception is raised
Local fix
Problem summary
A ClassCastException was raised under certain conditions for a Jump To Line operation.
Problem conclusion
The error has been fixed when jumping to the 'end' statement in an IF block.
Temporary fix
Comments
APAR Information
APAR number
PK86767
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
2009-05-15
Closed date
2009-07-23
Last modified date
2009-07-23
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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
06 December 2021