myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Tyson <matthewcarlty...@gmail.com>
Subject Re: java.lang.NullPointerException during render phase when using ADF and MyFaces Tomahwak components together
Date Sun, 24 Dec 2006 20:23:26 GMT

I'm seeing this issue using ADF 10.1.3.  I have the default renderer set to
adf's renderer, and when I try to render a t:commandlink inside a facet, I
see the following trace:

java.lang.NullPointerException
        at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.setRenderingProperty(FacesRenderingContext.java:157)
        at
oracle.adfinternal.view.faces.ui.RenderedNodeRenderingContext.setProperty(RenderedNodeRenderingContext.java:162)
        at
oracle.adfinternal.view.faces.ui.ServletRenderingContext._setContextProperty(ServletRenderingContext.java:309)
        at
oracle.adfinternal.view.faces.ui.ServletRenderingContext.setServletRequest(ServletRenderingContext.java:140)
        at
oracle.adfinternal.view.faces.ui.ServletRenderingContext.setServletRequest(ServletRenderingContext.java:163)
        at
oracle.adfinternal.view.faces.ui.ServletRenderingContext.init(ServletRenderingContext.java:113)
        at
oracle.adfinternal.view.faces.ui.ServletRenderingContext.init(ServletRenderingContext.java:96)
        at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.<init>(FacesRenderingContext.java:106)
        at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.createRenderingContext(FacesRenderingContext.java:79)
        at
oracle.adfinternal.view.faces.uinode.UINodeRendererBase.getRenderingContext(UINodeRendererBase.java:89)
        at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.getRenderingContext(FacesRenderingContext.java:66)
        at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.getRenderingContext(FacesRenderingContext.java:52)
        at
oracle.adfinternal.view.faces.renderkit.htmlBasic.UINodeRenderer.getRenderingContext(UINodeRenderer.java:79)
        at
oracle.adfinternal.view.faces.renderkit.htmlBasic.UINodeRenderer.encodeEnd(UINodeRenderer.java:56)
        at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
        at
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:382)
        at
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:363)
        at
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75)
        at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)

Looks like the adf renderer needs a faces context that isn't there.
-- 
View this message in context: http://www.nabble.com/java.lang.NullPointerException-during-render-phase-when-using-ADF-and-MyFaces-Tomahwak-components-together-tf1315507.html#a8043311
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message