myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hannum, Daniel" <Daniel_Han...@PremierInc.com>
Subject A mystery NPE all of the sudden
Date Tue, 31 Jul 2007 14:42:30 GMT
Hi,

 

I apologize for using the wrong list. This post actually deals with a
problem in the ADF (pre-Trinidad) code. I'm at a loss so I'm hoping
someone might know something. All of the sudden (after 2 weeks in
production), many page loads in my app cause the following NPE (below).
I think I have the correct source code for the old version I'm on and I
believe it's this line

 

return (tContext.getRenderStage().getStage() == RenderStage.DATA_STAGE);

 

So any ideas how getRenderStage could be null?

 

Note also that this error doesn't touch my code at all. I looked for any
jars that someone may have changed. Nothing. I'm at a loss. Any ideas
are appreciated.

 

java.lang.NullPointerException:

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableRenderingC
ontext.isInsideContentOfTable(TableRenderingContext.java:570)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRender
er._isInTable(LabelAndMessageRenderer.java:100)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRender
er.encodeAll(LabelAndMessageRenderer.java:118)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageR
enderer.encodeAll(InputLabelAndMessageRenderer.java:94)

        at
oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(Core
Renderer.java:159)

        at
oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentB
ase.java:624)

        at
oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(Rend
erUtils.java:54)

        at
oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(Rend
erUtils.java:50)

        at
oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(Rend
erUtils.java:50)

        at
oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(Co
reRenderer.java:232)

        at
oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChild
ren(CoreRenderer.java:255)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRende
rer.renderContent(PanelPartialRootRenderer.java:65)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderCo
ntent(BodyRenderer.java:117)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRende
rer.encodeAll(PanelPartialRootRenderer.java:147)

        at
oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAl
l(BodyRenderer.java:60)

        at
oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(Core
Renderer.java:159)

        at
oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentB
ase.java:624)

        at
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSuppo
rt.java:242)

        at
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSuppo
rt.java:239)

        at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:5
80)

        at
oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(Vie
wHandlerImpl.java:157)

        at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384
)

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

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

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

        at
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(
AdfFacesFilterImpl.java:367)

        at
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(Ad
fFacesFilterImpl.java:336)

        at
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFace
sFilterImpl.java:196)

        at
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java
:87)

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

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

        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)




-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  
Mime
View raw message