Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13685

ExtendedPartialViewContext.release causes IllegalStateException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.0.Alpha3, 5.0.0.Alpha3
    • Fix Version/s: 4.5.0.Alpha3
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.5.0.Alpha3 - Sprint 4

      Description

      When using latest WildFly 9.0-SNAPSHOT including JSF 2.2.7 I get an exception immediately after login from my web-app which is using richfaces-5.0.0-SNAPSHOT.
      According to Farah Juma this is an error in RichFaces which comes up now because of a fix in JSF:
      "This is a bug in RichFaces that was introduced by this recent Mojarra fix:
      https://java.net/jira/browse/JAVASERVERFACES-3203
      The RichFaces ExtendedPartialViewContext class just needs to be updated accordingly."

      Stacktrace fragment:

      Caused by: java.lang.IllegalStateException
      at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:705) [jsf-impl-2.2.7-jbossorg-1.jar:]
      at com.sun.faces.context.FacesContextImpl.getAttributes(FacesContextImpl.java:237) [jsf-impl-2.2.7-jbossorg-1.jar:]
      at org.richfaces.context.ExtendedPartialViewContext.setInstance(ExtendedPartialViewContext.java:55) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.richfaces.context.ExtendedPartialViewContext.release(ExtendedPartialViewContext.java:64) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at org.richfaces.context.ExtendedPartialViewContextImpl.release(ExtendedPartialViewContextImpl.java:473) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
      at com.sun.faces.context.FacesContextImpl.release(FacesContextImpl.java:591) [jsf-impl-2.2.7-jbossorg-1.jar:]
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:665)  [jboss-jsf-api_2.2_spec-2.2.7.jar:2.2.7]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  lafr Frank Langelage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: