myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yogeen Honnavar <yog...@isac.gov.in>
Subject Regarding JSF page becoming inaccessible
Date Fri, 07 Sep 2012 03:26:27 GMT
Dear users,

We are using myfaces-1.2.9 with apache-tomcat-6.0.35. We have a JSF  
page which works fine most of the time.

However, recently all of a sudden, the JSF page became unavailable. On  
checking the logs following lines are observed.

Any idea what is the likely cause ? Please let us know. We cannot  
share the JSF code, but please note that we have one JSP scriptlet  
"<%....  %>" within the JSF page for accessing backend database and  
pre-processing. Is this likely cause for the problem ? Please advice.

regards
-yogeen


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Sep 2, 2012 11:32:04 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:600)
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:612)
	at javax.faces.component.UIData.setRowIndex(UIData.java:551)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:292)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:143)
	at  
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:627)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:528)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:511)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:92)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
	at  
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
	at  
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:316)
	at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
	at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
	at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
	at  
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
	at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:811)
Sep 2, 2012 11:32:19 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:600)
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:612)
	at javax.faces.component.UIData.setRowIndex(UIData.java:551)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:292)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:143)
	at  
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:627)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:528)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:511)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:92)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
	at  
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
	at  
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:316)
	at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
	at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
	at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
	at  
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
	at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:811)
Sep 2, 2012 11:51:05 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:600)
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:612)
	at javax.faces.component.UIData.setRowIndex(UIData.java:551)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:292)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:143)
	at  
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:627)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:528)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:511)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:92)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
	at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
	at  
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
	at  
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:316)
	at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
	at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
	at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
	at  
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
	at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:811)
Sep 2, 2012 11:52:25 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:600)
	at  
javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:612)
	at javax.faces.component.UIData.setRowIndex(UIData.java:551)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:292)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:143)
	at  
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:627)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:528)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:511)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:92)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at  
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:534)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
	at  
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:649)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
	at  
org.apache.myfaces.application.jsp.JspVitingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------


Mime
View raw message