Following behaviour was seen when timezone7 (ICEFaces trunk revision# 18187) was tested with ui:debug tag:
1) on pressing Ctrl+Shift+d a window with url "http://localhost:8080/timezone7/timezone.xhtml?facelets.ui.DebugOutput=1232404227498" was opened. That simple displayed page code (screen shot attached)
2) Also NullPointerException was seen on Tomcat5 ( Tomcat6 server showed no exceptions)
Jan 19, 2009 3:35:40 PM com.icesoft.faces.facelets.D2DFaceletViewHandler renderR
esponse
SEVERE: Problem in renderResponse: null
java.lang.NullPointerException
at java.lang.String.compareTo(String.java:997)
at java.lang.String.compareTo(String.java:90)
at java.util.TreeMap.compare(TreeMap.java:1093)
at java.util.TreeMap.put(TreeMap.java:465)
at java.util.AbstractMap.putAll(AbstractMap.java:317)
at java.util.TreeMap.putAll(TreeMap.java:328)
at java.util.TreeMap.<init>(TreeMap.java:156)
at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:158)
at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:144)
at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:135)
at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:551)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:156)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:175)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:299)
at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:143)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Following behaviour was seen for non icefaces page:
1)Correct debug page with following url is displayed "http://localhost:8080/timezone7/timezone.jsf?facelets.ui.DebugOutput=1232404864673"
screen shot attached.
Following javascipt was seen on the page
//<![CDATA[
function faceletsDebug(URL)
{ day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); }
;var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e)
{ if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'D' & e.shiftKey & e.ctrlKey) faceletsDebug('/timezone7/timezone.jsf?facelets.ui.DebugOutput=1232407394406'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); }
;
//]]>
Following behaviour was seen when timezone7 (ICEFaces trunk revision# 18187) was tested with ui:debug tag:
1) on pressing Ctrl+Shift+d a window with url "http://localhost:8080/timezone7/timezone.xhtml?facelets.ui.DebugOutput=1232404227498" was opened. That simple displayed page code (screen shot attached)
2) Also NullPointerException was seen on Tomcat5 ( Tomcat6 server showed no exceptions)
Jan 19, 2009 3:35:40 PM com.icesoft.faces.facelets.D2DFaceletViewHandler renderR
esponse
SEVERE: Problem in renderResponse: null
java.lang.NullPointerException
at java.lang.String.compareTo(String.java:997)
at java.lang.String.compareTo(String.java:90)
at java.util.TreeMap.compare(TreeMap.java:1093)
at java.util.TreeMap.put(TreeMap.java:465)
at java.util.AbstractMap.putAll(AbstractMap.java:317)
at java.util.TreeMap.putAll(TreeMap.java:328)
at java.util.TreeMap.<init>(TreeMap.java:156)
at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:158)
at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:144)
at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:135)
at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:551)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:156)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:175)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:299)
at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:143)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Following behaviour was seen for non icefaces page:
1)Correct debug page with following url is displayed "http://localhost:8080/timezone7/timezone.jsf?facelets.ui.DebugOutput=1232404864673"
{ day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); }screen shot attached.
Following javascipt was seen on the page
//<![CDATA[
function faceletsDebug(URL)
;var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e)
{ if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'D' & e.shiftKey & e.ctrlKey) faceletsDebug('/timezone7/timezone.jsf?facelets.ui.DebugOutput=1232407394406'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); };
//]]>