IBM Support

PM77008: Rational Developer for System z (RDz) Outline View fails with Empty Stack Exception in PLI Outline Parser

Subscribe

You can track all active APARs for this component.

 

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

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

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
29 October 2021