IBM Support

PH05228: JSF PORTLET FAILS WITH ILLEGALSTATEEXCEPTION WHEN PROCESSING JSP

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • JSF portlet fails with IllegalStateException when processing JSP
    
    [10/24/18 15:57:41:260 EDT] 000001a6 PortletExtern E
    com.ibm.faces20.portlet.httpbridge.PortletExternalContextWrapper
    dispatch Dispatch failed: xxxxxx, Exception:
    java.lang.IllegalStateException: Cannot forward. Response
    already committed.
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(
    WebAppRequestDispatcher.java:1153)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(W
    ebAppRequestDispatcher.java:198)
    at
    com.ibm.faces20.portlet.httpbridge.PortletExternalContextWrapper
    .dispatch(PortletExternalContextWrapper.java:695)
    at
    org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView
    (JspViewDeclarationLanguage.java:99)
    at
    org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase.re
    nderView(JspViewDeclarationLanguageBase.java:140)
    at
    org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHa
    ndlerImpl.java:313)
    at
    com.ibm.faces.portlet.PortletViewHandlerImpl.renderView(PortletV
    iewHandlerImpl.java:93)
    

Local fix

  • Test Fix
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Due to a programming error, an NPE      *
    *                      occurs when the application uses a      *
    *                      JSP instead of an XHTML facelet.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Due to a programming error in the IBM JSF Portlet Bridge, an
    NPE occurs when the application uses a JSP instead of an XHTML
    facelet.
    

Problem conclusion

  • It should be noted that use of JSPs instead of facelets
    for the view is back-level JSF technology and is supported for
    compatibility reasons only. Customers should be encouraged to
    move their applications to facelet technology.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.5.0.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH05228

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-13

  • Closed date

    2019-06-27

  • Last modified date

    2019-06-27

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 June 2019