Details
-
Type: Bug
-
Status: Open
-
Priority: 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.
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
- blocks
-
IPCK-184 Re-Factor AsyncProgress Component
- Open
Activity
Brad Kroeger
created issue -
Brad Kroeger
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Brad Kroeger
made changes -