IBM Support

PK60565: JSP COMPILE ERROR "CANNOT RESOLVE SYMBOL SYMBOL : VARIABLE _JSPX_PUSH_BODY_COUNT_C_FOREACH_1 " IS THROWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JSP compile error "cannot resolve symbol symbol  : variable
    _jspx_push_body_count_c_forEach_1 " is thrown after applying
    6.0.2.23.
    
    SRVE0026E: [Servlet Error]-[JSPG0049E:
    /jsp/path/testParent.jsp failed to compile :
    
    JSPG0225E: An error occurred at line: 14 in the statically
    included file: /jsp/path/includes/testInclude.jsp
    JSPG0093E: Generated servlet error from file:
    /jsp/path/testParent.jsp
    
    /usr/WebSphere/AppServer/profiles/profileName/temp/nodeName/serv
    er1/earName/warName.war/jsp/path/_testParent.java:333: cannot
    resolve symbol
    symbol  : variable _jspx_push_body_count_c_forEach_1
    location: class com.ibm._jsp._testParent
      _jspx_th_custom_tag_1.setJspBody(new _testParentHelper( 1,
    pageContext, _jspx_th_custom_tag_1,
    _jspx_push_body_count_c_forEach_1));
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version    *
    *                  6.0.2 and 6.1 users of JavaServer Pages     *
    *                  (JSP) in their applications.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: JSPs which contain static includes and  *
    *                      custom tag calls can fail to compile    *
    *                      due to a variable that cannot be        *
    *                      resolved.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following error can occur when a JSP is compiled.  Similar
    errors can also occur for the same reason, the variable that
    causes the exception depends on the contents of the JSP and the
    custom tag being used.
    
    JSPG0225E: An error occurred at line: 14 in the statically
    included file: /jsp/path/includes/testInclude.jsp
    JSPG0093E: Generated servlet error from file:
    /jsp/path/testParent.jsp
    /usr/WebSphere/AppServer/profiles/profileName/temp/nodeName/serv
    er1/earName/warName.war/jsp/path/_testParent.java:333: cannot
    resolve symbol
    symbol  : variable _jspx_push_body_count_c_forEach_1
    location: class com.ibm._jsp._testParent
       _jspx_th_custom_tag_1.setJspBody(new _testParentHelper( 1,
    pageContext, _jspx_th_custom_tag_1,
    _jspx_push_body_count_c_forEach_1));
    
    
    This exception is caused by one JSP including one or more other
    JSPs and a custom tag is involved in some manner.  The exception
    typically occurs when the JSPs are involved in some type of an
    iterative action.  For example, using the JavaServer Pages
    Standard Tag Library (JSTL) tag c:forEach.
    

Problem conclusion

  • The translation phase code of the JSP Container was modified to
    keep better track of the count that is used to append to
    variables when constructing the Java code prior to compilation.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 6.0.2.27 and 6.1.0.17.  Please refer to the Recommended
    Updates page for delivery information:
    http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP
    &uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK60565

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    60A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-06

  • Closed date

    2008-02-08

  • Last modified date

    2008-02-25

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 December 2021