org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager中的java.lang.NullPointerException

时间:2015-11-21 07:10:41

标签: jsf jsf-1.2 trinidad

我在JSF 1.2上使用Trinidad 1.0.12进行渲染java.lang.NullPointerException。有些页面工作正常但在某些页面上我收到此错误。请帮我解决这个问题。 感谢

堆栈追踪:

java.lang.NullPointerException
  at org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager(RootRenderingContext.java:193)
  at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.getRenderer(UIXComponentUINode.java:379)
  at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:166)
  at org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:70)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:693)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:65)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:299)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:321)
  at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:64)
  at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:142)
  at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:119)
  at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:78)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:224)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:693)
  at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:252)
  at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
  at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
  at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)

0 个答案:

没有答案