DOMContext « IceFaces « JSF Q&A





2. handleNavigation -> DOMContext is null    icefaces.org

Hi I've a login page and multiple windows for the application, so in web.xml there is com.icesoft.faces.concurrentDOMViews as true. In login page backing bean a put a check if user logged, then I tried to navigate to the first page So I put in the constructor public LoginPageBean(){ userModel = new UserModel(); UserSession usersession=(UserSession)getSessionMap().get("usersession"); if(usersession!=null){ manageNewActivity(); try { FacesContext context = ...

4. iceface 1.6.1 has one time DOMContext null exception running on ibm rad 6.0.1    icefaces.org

I got following error the first time i brought up a page that included panelTabSet. After I refreshed the page, the error disappeared. [9/10/07 14:08:16:446 EDT] 00000037 Parser E com.icesoft.faces.webapp.parser.Parser parse Failed to execute JSP lifecycle. javax.servlet.jsp.JspException: DOMContext is null at com.icesoft.faces.component.paneltabset.PanelTabSetTag.doEndTag(PanelTabSetTag.java:691) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:203) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:519) at ...

5. DomContext is null    icefaces.org

Hi, on some occasions I get an exception - see below. The really strange thing is, that this always happens on the first start of the app after tomcat has been restarted. When I reload the page and another session is started it does not happen again. Any ideas? Code: javax.faces.FacesException: DOMContext is null at com.icesoft.faces.renderkit.dom_html_basic.PassThruAttributeRenderer.renderBooleanAttributes(PassThruAttributeRenderer.java:248) at com.icesoft.faces.renderkit.dom_html_basic.PassThruAttributeRenderer.renderAttributes(PassThruAttributeRenderer.java:166) at com.icesoft.faces.renderkit.dom_html_basic.PassThruAttributeRenderer.renderAttributes(PassThruAttributeRenderer.java:143) at ...