struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-2191) Stack trace when running WAR File of struts-faces2 example - Tomcat 5.0.26
Date Mon, 24 Apr 2006 19:02:10 GMT
     [ http://issues.apache.org/struts/browse/STR-2191?page=all ]
     
David Evans closed STR-2191:
----------------------------

    Resolution: Fixed

> Stack trace when running WAR File of struts-faces2 example - Tomcat 5.0.26
> --------------------------------------------------------------------------
>
>          Key: STR-2191
>          URL: http://issues.apache.org/struts/browse/STR-2191
>      Project: Struts Action 1
>         Type: Bug

>   Components: Faces
>     Versions: Nightly Build
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Piero Colagrosso
>     Assignee: David Evans
>      Fix For: 1.2 Family

>
> I am running the struts-faces2 example (Struts+Faces+Tiles) via the
> struts-faces2.war file which is included with the struts-faces distribution
> (nightly build).
> The WAR file seems to deploy fine and I don't get any error messages. I am also
> able to use the 'Register' function without any errors.
> However, when I try to access the 'Log On' function I obtain the stack trace
> listed below.  I am running Tomcat 5.0.26 (bundled within JBoss 3.2.5) on Red
> Hat Fedora.  All our existing 'pure' Struts applications run fine in the exact
> same environment.   I am also using August 31st nightly build of struts-faces.
> Regards,
>    Piero
> __________________________________________________________________________
> Stack Trace:
> type Exception report
> message
> description The server encountered an internal error () that prevented it from
> fulfilling this request.
> exception
> org.apache.jasper.JasperException
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
> 	com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
> 	org.apache.struts.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
> 	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> 	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> root cause
> java.lang.NullPointerException
> 	javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
> 	javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:324)
> 	javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
> 	javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)
> 	org.apache.jsp.logon_jsp._jspx_meth_s_errors_0(logon_jsp.java:132)
> 	org.apache.jsp.logon_jsp._jspService(logon_jsp.java:104)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
> 	com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
> 	org.apache.struts.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
> 	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> 	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> _______________________________________________________________________________
> The full stack trace reads as follows:
> 2004-09-02 09:36:22,886 472097 ERROR [org.jboss.web.localhost.Engine]
> (http-0.0.0.0-8180-Processor2 4:) ApplicationDispatcher[/struts-faces2]
> Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
>         at
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
>         at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:324)
>         at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
>         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)
>         at org.apache.jsp.logon_jsp._jspx_meth_s_errors_0(logon_jsp.java:132)
>         at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:104)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
> java:237)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157
> )
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
>         at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java
> :463)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>         at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at
> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
>         at
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
>         at
> org.apache.struts.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
>         at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
>         at
> org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesReque
> stProcessor.java:146)
>         at
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455
> )
>         at
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor
> .java:320)
> at
> org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(Face
> sTilesRequestProcessor.java:262)
>         at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>         at
> org.apache.struts.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.
> java:167)
>         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
>         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
>         at
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
> java:237)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157
> )
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:1
> 98)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.j
> ava:72)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at
> org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:27
> 5)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11
> Protocol.java:705)
>         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message