ICEfaces
  1. ICEfaces
  2. ICE-1288

CLONE -Seam: PersistentFacesState.render() causes IllegalStateException "No page context active"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#2, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      noted several places in the forum:
      http://www.icefaces.org/JForum/posts/list/3190.page
      http://www.icefaces.org/JForum/posts/list/3292.page

      It seems that using AJAX push in Seam causes the following stack exception:

       15:37:20,197 ERROR [PhaseListenerManager] Exception in PhaseListener
      RENDER_RESPONSE(6) beforePhase.
      java.lang.IllegalStateException: No page context active
      at org.jboss.seam.core.FacesPage.instance(FacesPage.java:87)
      at
      org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:219)
      at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
      at
      org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
      at
      com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)

      ...

        Issue Links

          Activity

          Hide
          Ted Goddard added a comment -

          Applications can use execute() followed by render() to perform Ajax Push in Seam. Note that this does not
          resolve all uses of Ajax Push with Seam; for instance, the
          FileUpload component cannot yet deliver events to a Seam
          bean, however, this is not itself an Ajax Push issue.

          Show
          Ted Goddard added a comment - Applications can use execute() followed by render() to perform Ajax Push in Seam. Note that this does not resolve all uses of Ajax Push with Seam; for instance, the FileUpload component cannot yet deliver events to a Seam bean, however, this is not itself an Ajax Push issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: