ICEpush
  1. ICEpush
  2. PUSH-113

PushRenderer Failing Where SessionRenderer Works

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      Enterprise Components - Async Progress Component

      Description

      The ProgressAsyncBean that is a part of the AsyncProgress component in our 'Composite Components' or 'Enterprise Components' works fine with the SessionRenderer. Once the SessionRenderer is replaced with the PushRenderer, we get the following Exception thrown when a render call is made:

      Exception in thread "pool-1-thread-1" java.lang.RuntimeException: FacesContext is not present for thread Thread[pool-1-thread-1,5,main]
      at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:182)
      at org.icefaces.application.PushRenderer.render(PushRenderer.java:131)
      at com.icesoft.faces.facelets.component.progress.ProgressAsyncBean.afterExecute(ProgressAsyncBean.java:79)
      at com.icesoft.faces.facelets.component.progress.AfterExecuteThreadPoolExecutor.afterExecute(AfterExecuteThreadPoolExecutor.java:39)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      The ProgressAsyncBean is in view scope.

        Issue Links

          Activity

          Brad Kroeger created issue -
          Brad Kroeger made changes -
          Field Original Value New Value
          Assignee Ken Fyten [ ken.fyten ]
          Brad Kroeger made changes -
          Link This issue blocks IPCK-184 [ IPCK-184 ]

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Brad Kroeger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: