Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: Bridge
-
Labels:None
-
Environment:-Apache Tomcat Version 6.0.37
-Iceface 3.3.0
-Java 1.6
-CentOS 6.4
Description
- I have a page with bean with window scope (as shown below)
@ManagedBean(name = "chartDetailBean")
@CustomScoped(value = "#{window}")
public class ChartDetailBean... {..}
- This bean is used to manage tabs and hence window scope is used
- Multiple tabs can be opened at a time and this results in following exception (catalina.out) where the page goes into loading loop and exhausts tomcat resources resulting in crash:
Dec 23, 2013 1:23:54 PM com.sun.faces.mgbean.BeanManager$ScopeManager$CustomScopeHandler handle
WARNING: JSF1085: Custom scope '#{window}' evaluated to null. Managed bean was not pushed to scope.
Dec 23, 2013 1:23:54 PM com.sun.faces.mgbean.BeanManager$ScopeManager$CustomScopeHandler getFromScope
WARNING: JSF1086: Custom scope '#{window}' evaluated to null. Unable to determine if managed bean exists.
-When I debug this issue, I notice that whenever the above warning is displayed, the constructor of ChartDetailBean is repeatedly called and same exceptions is continuously seen in catalina.out
NOTE: This problem occurs when I try to open multiple tabs. You can re-produce this problem by loading tomcat first and then trying to open any page having windowScope.
@ManagedBean(name = "chartDetailBean")
@CustomScoped(value = "#{window}")
public class ChartDetailBean... {..}
- This bean is used to manage tabs and hence window scope is used
- Multiple tabs can be opened at a time and this results in following exception (catalina.out) where the page goes into loading loop and exhausts tomcat resources resulting in crash:
Dec 23, 2013 1:23:54 PM com.sun.faces.mgbean.BeanManager$ScopeManager$CustomScopeHandler handle
WARNING: JSF1085: Custom scope '#{window}' evaluated to null. Managed bean was not pushed to scope.
Dec 23, 2013 1:23:54 PM com.sun.faces.mgbean.BeanManager$ScopeManager$CustomScopeHandler getFromScope
WARNING: JSF1086: Custom scope '#{window}' evaluated to null. Unable to determine if managed bean exists.
-When I debug this issue, I notice that whenever the above warning is displayed, the constructor of ChartDetailBean is repeatedly called and same exceptions is continuously seen in catalina.out
NOTE: This problem occurs when I try to open multiple tabs. You can re-produce this problem by loading tomcat first and then trying to open any page having windowScope.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion