IBM Support

PM27407: When disabling PL/I annotations, parsing of PL/I programs still occurs causing an internal error (StackOverflowError)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z V7.6.2:
    
    PL/I annotations can be disabled using the PL/I Annotations
    preference page. If Disable annotations is selected, the PL/I
    real-time parser is still parsing the file unnecessarily.
    
    One of the symptoms of this problem is when the PL/I real-time
    syntax check parser detects a large number of errors, it uses up
    the Java stack memory causing and Internal Error popup dialog to
    be displayed with the following text:
    
      An internal error occurred while showing an internal error.
      You are recommended to exit the workbench.  Subsequent errors
      may happen and my terminate the workbench without warning.
    
      See the .log for more details.
    
      Do you want to exit the workbench?'
    
    Another error dialog is also displayed showing the following
    message:
    
      An internal error occurred during:  "Pl/I annotations and
      tools"'.
    
    The .log shows:
    
      !MESSAGE An internal error occurred during: "PL/I annotations
      and tools".
      !STACK 0
      java.lang.StackOverflowError
       at lpg.runtime.ConfigurationStack.findOrInsertStack(Unknown
      Source)
       at lpg.runtime.ConfigurationStack.push(Unknown Source)
       at lpg.runtime.DiagnoseParser.parseCheck(Unknown Source)
       at lpg.runtime.DiagnoseParser.checkPrimaryDistance(Unknown
      Source)
       at lpg.runtime.DiagnoseParser.primaryPhase(Unknown Source)
       at lpg.runtime.DiagnoseParser.errorRecovery(Unknown Source)
       at lpg.runtime.DiagnoseParser.diagnoseEntry(Unknown Source)
       at lpg.runtime.DiagnoseParser.diagnose(Unknown Source)
       at
     com.ibm.systemz.pl1.editor.core.parser.Pl1Parser.parser(Unknown
      Source)
       at
      com.ibm.systemz.pl1.editor.core.parser.Pl1ParseController.pars
       e( Unknown Source)
       at
      com.ibm.systemz.pli.editor.lpex.parser.ParseJob.run(Unknown
       Source)
       at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
    
    One possible workaround to the stack overflow error is to add
    the -vmargs -Xss512k to the arguments when starting up Rational
    Developer for System z.
    

Local fix

Problem summary

  • USERS AFFECTED:
        RD/z users who disable PL/I annotations.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
       In the PL/I Annotations preference page, users can disable
    the annotations provided by the PL/I real-time syntax check
    feature. If this option was chosen, the annotations did not
    appear; however, the PL/I program was still parsed by the
    real-time syntax parser.
    

Problem conclusion

  • PROBLEM RESOLUTION:
      RD/z does not parse the program when the user disables PL/I
    annotations.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V7.6.2.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

    PM27407

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-23

  • Closed date

    2010-12-18

  • Last modified date

    2010-12-18

  • 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

  • R762 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
18 December 2010