Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:jsf2.0, ICEfaces2, compat jars, JBoss 6.0 M2
Description
Progress example of compat showcase throws exception to server log:-
13:42:52,782 ERROR [STDERR] Exception in thread "pool-5-thread-1" java.lang.RuntimeException: FacesContext is not present for thread Thread[pool-5-thread-1,5,jboss]
13:42:52,810 ERROR [STDERR] at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:122)
13:42:52,810 ERROR [STDERR] at org.icefaces.application.PushRenderer.render(PushRenderer.java:104)
13:42:52,810 ERROR [STDERR] at org.icefaces.application.showcase.view.bean.examples.component.progressBar.OutputProgressController$LongOperationRunner.run(OutputProgressController.java:132)
13:42:52,811 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
13:42:52,811 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
13:42:52,811 ERROR [STDERR] at java.lang.Thread.run(Thread.java:637)
13:42:52,782 ERROR [STDERR] Exception in thread "pool-5-thread-1" java.lang.RuntimeException: FacesContext is not present for thread Thread[pool-5-thread-1,5,jboss]
13:42:52,810 ERROR [STDERR] at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:122)
13:42:52,810 ERROR [STDERR] at org.icefaces.application.PushRenderer.render(PushRenderer.java:104)
13:42:52,810 ERROR [STDERR] at org.icefaces.application.showcase.view.bean.examples.component.progressBar.OutputProgressController$LongOperationRunner.run(OutputProgressController.java:132)
13:42:52,811 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
13:42:52,811 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
13:42:52,811 ERROR [STDERR] at java.lang.Thread.run(Thread.java:637)
Activity
Judy Guglielmin
created issue -
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] |
Ken Fyten
made changes -
Environment | jsf2.0, ICEfaces2, compat jars | jsf2.0, ICEfaces2, compat jars, JBoss 6.0 M2 |
Salesforce Case | [] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Assignee | Deryk Sinotte [ deryk.sinotte ] | Ted Goddard [ ted.goddard ] |
Ted Goddard
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Since this is the "compat" component showcase, this use of PushRenderer should make use of SessionRenderer.
An alternative fix will be to use PortableRenderer (but this should be considered only if the above fails).