Re: Clay problem: NPE when reloading a page
Hello Gary, This is my clay-config.xml: ---8--- !DOCTYPE view PUBLIC -//Apache Software Foundation//DTD Shale Clay View Configuration 1.0 //EN http://shale.apache.org/dtds/clay-config_1_0.dtd; view component jsfid=baseTemplate extends=clay attributes set name=clayJsfid value=/clay/layout.html/ /attributes symbols set name=@title value=Default Title/ set name=@headercontent value=/clay/header.html/ set name=@menucontent value=/clay/menu.html/ set name=@pagecontent value=space/ set name=@footercontent value=/clay/footer.html/ /symbols /component component jsfid=lijstPage extends=subview allowBody=false element renderId=2 jsfid=individuPanel symbols set name=managed-bean-name value=individuSelectionBeanAnn/ /symbols /element /component component jsfid=individuPanel extends=clay attributes set name=clayJsfid value=/clay/lijstPage.html/ /attributes /component component jsfid=naam extends=inputText /component component jsfid=voornaam extends=inputText /component component jsfid=zoeken extends=commandButton attributes set name=action value=filter/ set name=value value=Zoeken/ /attributes /component component jsfid=individuenTable extends=dataTable attributes set name=var value=individu/ set name=value value=individuSelectionBeanAnn.individuLijst/ /attributes /component /view ---8-- This is my config for an xml view: ---8--- component jsfid=/symbols/lijstInd.xml extends=baseTemplate symbols set name=@title value=Lijst individuen/ set name=@pagecontent value=lijstPage/ /symbols /component ---8--- On Jan 14, 2008 4:53 PM, Gary VanMatre [EMAIL PROTECTED] wrote: From: Philippe Van Der Gucht [EMAIL PROTECTED] Hello, I use JSF RI 1.1 and Shale v1.0.4 with the Weblogic v10 server. I have tried to use clay to make a tile-like composition of a webpage. This renders just fine on the first try but when reloading I get this error: java.lang.NullPointerException: at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:305) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :413) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445) There is not enought info to tell what's going on. Could you try the nightly builds here: http://people.apache.org/builds/shale/nightly/. What does you defintions (clay config) look like? Greetings, Philippe. Gary
Re: Clay problem: NPE when reloading a page
Nightly build of yesterday evening does not solve the problem. Don't know if this might be decisive but I'm using the tiger extension (annotated backing bean). On Jan 14, 2008 4:53 PM, Gary VanMatre [EMAIL PROTECTED] wrote: From: Philippe Van Der Gucht [EMAIL PROTECTED] Hello, I use JSF RI 1.1 and Shale v1.0.4 with the Weblogic v10 server. I have tried to use clay to make a tile-like composition of a webpage. This renders just fine on the first try but when reloading I get this error: java.lang.NullPointerException: at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:305) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :413) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445) There is not enought info to tell what's going on. Could you try the nightly builds here: http://people.apache.org/builds/shale/nightly/. What does you defintions (clay config) look like? Greetings, Philippe. Gary
Re: Clay problem: NPE when reloading a page
However the previous release of Shale (v1.0.3) works like a charm. On Jan 14, 2008 4:53 PM, Gary VanMatre [EMAIL PROTECTED] wrote: From: Philippe Van Der Gucht [EMAIL PROTECTED] Hello, I use JSF RI 1.1 and Shale v1.0.4 with the Weblogic v10 server. I have tried to use clay to make a tile-like composition of a webpage. This renders just fine on the first try but when reloading I get this error: java.lang.NullPointerException: at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:305) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :413) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445) There is not enought info to tell what's going on. Could you try the nightly builds here: http://people.apache.org/builds/shale/nightly/. What does you defintions (clay config) look like? Greetings, Philippe. Gary
Re: Clay problem: NPE when reloading a page
I apologize for being mistaken, it does not solve the problem. As soon as I start using symbols in my component which references a html view I get the NPE mentioned below when I reload the page. On Jan 14, 2008 4:53 PM, Gary VanMatre [EMAIL PROTECTED] wrote: From: Philippe Van Der Gucht [EMAIL PROTECTED] Hello, I use JSF RI 1.1 and Shale v1.0.4 with the Weblogic v10 server. I have tried to use clay to make a tile-like composition of a webpage. This renders just fine on the first try but when reloading I get this error: java.lang.NullPointerException: at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:305) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :413) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java :416) at org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445) There is not enought info to tell what's going on. Could you try the nightly builds here: http://people.apache.org/builds/shale/nightly/. What does you defintions (clay config) look like? Greetings, Philippe. Gary
Re: Clay problem: NPE when reloading a page
From: Philippe Van Der Gucht [EMAIL PROTECTED] Hello, I use JSF RI 1.1 and Shale v1.0.4 with the Weblogic v10 server. I have tried to use clay to make a tile-like composition of a webpage. This renders just fine on the first try but when reloading I get this error: java.lang.NullPointerException: at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:305) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:413) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:416) at org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:416) at org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445) There is not enought info to tell what's going on. Could you try the nightly builds here: http://people.apache.org/builds/shale/nightly/. What does you defintions (clay config) look like? Greetings, Philippe. Gary