myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schumpa, Markus, MSOP32" <Markus.Schu...@eads.com>
Subject Tomahawk 1.1.6 tree2 with JSF RI 1.2 in JBoss 4.2.1 error
Date Wed, 15 Aug 2007 13:55:59 GMT
Dear Community,

 

I want to use the tree2 component in my application. So I first wanted
to examine the examples.

For this I wanted to deploy the myfaces-example-simple-1.1.6.war in my
JBoss 4.2.1 application server. This went fine with no errors after
deleting the myfaces-api-1.1.5.jar & myfaces-impl-1.1.5.jar in the
archive.

So the shipped JSF RI 1.2 in JBoss is used.

Most of the sample applications run with this setup. But when I try to
access the Tree2 (client-side toggle, server-side toggle) sample I get
the following error:

This error also occurs when trying the other tree2 samples, but only
after expanding the lowest level. 

 

15:49:57,515 WARN  [lifecycle] executePhase(RENDER_RESPONSE
6,com.sun.faces.context.FacesContextImpl@1c200d0) threw exception

java.lang.NullPointerException

      at
com.sun.faces.renderkit.RenderKitUtils.getCommandLinkOnClickScript(Rende
rKitUtils.java:934)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.getOnClickScript(
CommandLinkRenderer.java:295)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.renderAsActive(Co
mmandLinkRenderer.java:357)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeBegin(Comma
ndLinkRenderer.java:165)

      at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:7
88)

      at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:269)

      at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRen
derer.java:117)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.java:414)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeCurrentNode(HtmlT
reeRenderer.java:364)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:258)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlTree
Renderer.java:206)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)

      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)

      at
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.j
ava:245)

      at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a:176)

      at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.
java:106)

      at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

      at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:147)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:230)

      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)

      at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:179)

      at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:84)

      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)

      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)

      at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConn
ectionValve.java:157)

      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
41)

      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)

      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:580)

      at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:595)

15:49:57,546 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces
Servlet threw exception

java.lang.NullPointerException

      at
com.sun.faces.renderkit.RenderKitUtils.getCommandLinkOnClickScript(Rende
rKitUtils.java:934)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.getOnClickScript(
CommandLinkRenderer.java:295)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.renderAsActive(Co
mmandLinkRenderer.java:357)

      at
com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeBegin(Comma
ndLinkRenderer.java:165)

      at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:7
88)

      at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:269)

      at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRen
derer.java:117)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.java:414)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeCurrentNode(HtmlT
reeRenderer.java:364)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:258)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRend
erer.java:285)

      at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlTree
Renderer.java:206)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)

      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)

      at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:812)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)

      at
javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)

      at
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.j
ava:245)

      at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a:176)

      at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.
java:106)

      at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

      at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:147)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:230)

      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)

      at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:179)

      at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:84)

      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)

      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)

      at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConn
ectionValve.java:157)

      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
41)

      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)

      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:580)

      at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:595)

 

Any help is highly appreciated.

 

Thanks

m. schumpa


Mime
View raw message