IBM Support

PI12245: INSERTING FACETS CAUSES ILLEGALSTATEEXCEPTION

Fixes are available

8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An exception can occur when using facets:
    IllegalStateException.
    Snapshot of the exception.
    ***
    java.lang.IllegalStateException: component with duplicate id
    "j_id1127938579_433afa7b" found
    at
    org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementS
    trategy.
    checkIds(DefaultFaceletsStateManagementStrategy.java:781)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 8.0 and 8.5.5              *
    *                  and Liberty Profile version 8.5.5 users of  *
    *                  JavaServer Faces(JSF) MyFaces.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: An IllegalStateException for a          *
    *                      duplicate id can occur when using the   *
    *                      facet component that contains an        *
    *                      <h:outputStylesheet/> .                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using a facet component such as the following:
    <f:facet name="test">
    <h:outputStylesheet library="theme"
    name="stylesheet.css" />
    </f:facet>
    The following exception can occur due to a duplicate id being
    found by JSF:
    java.lang.IllegalStateException: component with duplicate id
    "dup_id" found
    at
    org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementS
    trategy.
    checkIds(DefaultFaceletsStateManagementStrategy.java:781)
    

Problem conclusion

  • The JSF container was updated to ensure we do not have a
    duplicate id in this scenario.  The following JSF
    context-parameter must be enabled to "true" for the change to
    be enabled:
    
    com.ibm.ws.jsf.REMOVE_CHILD_FROM_FACET(true/false - default)
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.9 and 8.5.5.3.  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

    PI12245

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-24

  • Closed date

    2014-04-01

  • Last modified date

    2014-04-01

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022