RE: [shale][clay] NullPointerException on Linux
Should have also said that when built and war'd with the shale 1.0.2 and myfaces 1.1.1 jars the same source, config files etc. run fine on both windows and Linux, so the only diff is the upgraded jars. -Original Message- From: Ian.Priest [mailto:[EMAIL PROTECTED] Sent: 04 July 2006 15:13 To: Struts Users Mailing List Subject: [shale][clay] NullPointerException on Linux Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just upgraded shale and clay to the latest snapshot of 1.0.3 and myfaces to 1.1.3. The same war file deploys and runs happily on my windows development box running tomcat 5.5.12. 2006-07-04 13:10:36,446 ERROR [org.apache.shale.clay.parser.builder.BuilderFactory] java.lang.NullPointerException 2006-07-04 13:10:36,447 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/scn].[f aces]] Servlet.service() for servlet faces threw exception java.lang.RuntimeException: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:115) at org.apache.shale.clay.parser.Node.getBuilder(Node.java:239) at org.apache.shale.clay.config.ClayTemplateParser.generateElement(ClayTemp lateParser.java:126) at org.apache.shale.clay.config.ClayTemplateParser.loadConfigFile(ClayTempl ateParser.java:89) <...lines snipped...> Caused by: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:111) ... 48 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale][clay] NullPointerException on Linux
Upper/lower case mistake in filename most probably, that's about the main difference between windows and linux, the windows filesystem is case insensitive. Ian.Priest wrote: Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just upgraded shale and clay to the latest snapshot of 1.0.3 and myfaces to 1.1.3. The same war file deploys and runs happily on my windows development box running tomcat 5.5.12. 2006-07-04 13:10:36,446 ERROR [org.apache.shale.clay.parser.builder.BuilderFactory] java.lang.NullPointerException 2006-07-04 13:10:36,447 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/scn].[f aces]] Servlet.service() for servlet faces threw exception java.lang.RuntimeException: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:115) at org.apache.shale.clay.parser.Node.getBuilder(Node.java:239) at org.apache.shale.clay.config.ClayTemplateParser.generateElement(ClayTemp lateParser.java:126) at org.apache.shale.clay.config.ClayTemplateParser.loadConfigFile(ClayTempl ateParser.java:89) <...lines snipped...> Caused by: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:111) ... 48 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale][clay] NullPointerException on Linux
Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just upgraded shale and clay to the latest snapshot of 1.0.3 and myfaces to 1.1.3. The same war file deploys and runs happily on my windows development box running tomcat 5.5.12. 2006-07-04 13:10:36,446 ERROR [org.apache.shale.clay.parser.builder.BuilderFactory] java.lang.NullPointerException 2006-07-04 13:10:36,447 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/scn].[f aces]] Servlet.service() for servlet faces threw exception java.lang.RuntimeException: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:115) at org.apache.shale.clay.parser.Node.getBuilder(Node.java:239) at org.apache.shale.clay.config.ClayTemplateParser.generateElement(ClayTemp lateParser.java:126) at org.apache.shale.clay.config.ClayTemplateParser.loadConfigFile(ClayTempl ateParser.java:89) <...lines snipped...> Caused by: java.lang.NullPointerException at org.apache.shale.clay.parser.builder.BuilderFactory.getRenderer(BuilderF actory.java:111) ... 48 more