APAR status
Closed as program error.
Error description
Rational Developer for System z - RDz - v8.5 The PLI Outline Parser causes an Empty Stack Exception and the Outline view displays nothing. When the following PLI code exists it causes a EMPTY Stack exception in the PLI Outline Parser: check_value: proc; dcl 1 test, 7 a char(2), 7 b char(2); if test.a = test.b then test1: do; display( 'test.a = test.b' ); end test; end check_value; To avoid the problem if the 'end test;' is changed to end; then it works, or if the dcl is not a structure it works. This same problem does NOT happen on v8.0.3.3 client. The following exception occurs: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:70) at com.ibm.ftt.language.pli.outline.PliParseTree. getCurrentParent(PliParseTree.java:95) at com.ibm.ftt.language.pli.outline.PliOutlineParser. parse(PliOutlineParser.java:351) at com.ibm.ftt.language.pli.outline.PliOutlineParser. parse(PliOutlineParser.java:1) at com.ibm.ftt.lpex.mvs.outline.MvsLpexContentOutlinePage. getContentOutline(MvsLpexContentOutlinePage.java:374) at com.ibm.ftt.lpex.mvs.outline.MvsLpexContentOutlinePage. update(MvsLpexContentOutlinePage.java:397) at com.ibm.systemz.common.jface.systemz.SystemzOutlinePage. reloadOutline(SystemzOutlinePage.java:46) at com.ibm.systemz.common.jface.editor.CommonSourceEditor. reloadOutline(CommonSourceEditor.java:416) at com.ibm.systemz.common.jface.editor.CommonSourceEditor. doSave(CommonSourceEditor.java:402) at com.ibm.systemz.pl1.editor.jface.editor.Pl1Editor. doSave(Pl1Editor.java:625) *************************************************************** Local fix: Change the 'end test' to 'end'.
Local fix
Problem summary
Rational Developer for System z - RDz - v8.5 The PLI Outline Parser causes an Empty Stack Exception and the Outline view displays nothing. When the following PLI code exists it causes a EMPTY Stack exception in the PLI Outline Parser: check_value: proc; dcl 1 test, 7 a char(2), 7 b char(2); if test.a = test.b then test1: do; display( 'test.a = test.b' ); end test; end check_value; To avoid the problem if the "end test;" is changed to end; then it works, or if the dcl is not a structure it works. This same problem does NOT happen on v8.0.3.3 client. The following exception occurs: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:70) at com.ibm.ftt.language.pli.outline.PliParseTree. getCurrentParent(PliParseTree.java:95) at com.ibm.ftt.language.pli.outline.PliOutlineParser. parse(PliOutlineParser.java:351) at com.ibm.ftt.language.pli.outline.PliOutlineParser. parse(PliOutlineParser.java:1) at com.ibm.ftt.lpex.mvs.outline.MvsLpexContentOutlinePage. getContentOutline(MvsLpexContentOutlinePage.java:374) at com.ibm.ftt.lpex.mvs.outline.MvsLpexContentOutlinePage. update(MvsLpexContentOutlinePage.java:397) at com.ibm.systemz.common.jface.systemz.SystemzOutlinePage. reloadOutline(SystemzOutlinePage.java:46) at com.ibm.systemz.common.jface.editor.CommonSourceEditor. reloadOutline(CommonSourceEditor.java:416) at com.ibm.systemz.common.jface.editor.CommonSourceEditor. doSave(CommonSourceEditor.java:402) at com.ibm.systemz.pl1.editor.jface.editor.Pl1Editor. doSave(Pl1Editor.java:625) *************************************************************** Local fix: Change the "end test" to "end".
Problem conclusion
The PL/I Outline View parser was not handling the Do statements correctly. The problem listed in this APAR has been resolved with IBM Rational Developer for System z V8.5.1.1 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Temporary fix
Comments
APAR Information
APAR number
PM77008
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-11-13
Closed date
2013-03-21
Last modified date
2013-03-21
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 DEV FOR SY
Fixed component ID
5724T0700
Applicable component levels
R850 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.