[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

zzzz8 do-not-reply at jboss.com
Wed Sep 27 16:46:28 EDT 2006


Hi Gavin,

Thanks for the quick response!  For now, I just made message non-null, but I've come up with a slightly different error.:

ERROR 27-09 13:41:48,204 (ApplicationDispatcher.java:invoke:704)  -Servlet.servi
  | ce() for servlet jsp threw exception
  | javax.faces.el.EvaluationException: Cannot get value for expression '#{systemSta
  | tus.systemDatetime.time}'
  |         at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
  | :397)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
  |         at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUti
  | ls.java:225)
  |         at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderOutput(H
  | tmlTextRendererBase.java:65)
  |         at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(Html
  | TextRendererBase.java:53)
  |         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:
  | 331)
  |         at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.
  | java:450)
  |         at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.renderChildren
  | (HtmlGridRendererBase.java:203)
  |         at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.encodeEnd(Html
  | GridRendererBase.java:85)
  |         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:
  | 331)
  |         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
  |         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
  |         at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponent
  | BodyTagBase.java:55)
  |         at org.apache.jsp.WEB_002dINF.faces.header.statusNoAjax_jspx._jspx_meth_
  | h_panelGrid_0(org.apache.jsp.WEB_002dINF.faces.header.statusNoAjax_jspx:245)
  |         at org.apache.jsp.WEB_002dINF.faces.header.statusNoAjax_jspx._jspService
  | (org.apache.jsp.WEB_002dINF.faces.header.statusNoAjax_jspx:92)
  |         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:332)
  |         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 14)
  |         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
  | atcher.java:672)
  |         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
  | ispatcher.java:574)
  |         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
  | patcher.java:499)
  |         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
  | .java:966)
  |         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav
  | a:614)
  |         at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99
  | )
  |         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
  |         at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760
  | )
  |         at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Inser
  | tTag.java:892)
  |         at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
  | 
  |         at org.apache.jsp.WEB_002dINF.faces.layout.informationBarLayout_jspx._js
  | px_meth_tiles_insert_1(org.apache.jsp.WEB_002dINF.faces.layout.informationBarLay
  | out_jspx:163)
  |         at org.apache.jsp.WEB_002dINF.faces.layout.informationBarLayout_jspx._js
  | pService(org.apache.jsp.WEB_002dINF.faces.layout.informationBarLayout_jspx:64)
  |         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:332)
  |         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 14)
  |         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
  | atcher.java:672)
  |         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
  | ispatcher.java:574)
  |         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
  | patcher.java:499)
  |         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
  | .java:966)
  |         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav
  | a:614)
  |         at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99
  | )
  |         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
  |         at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760
  | )
  |         at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Inser
  | tTag.java:892)
  |         at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
  | 
  |         at org.apache.jsp.WEB_002dINF.faces.layout.headerLayout_jspx._jspx_meth_
  | tiles_insert_0(org.apache.jsp.WEB_002dINF.faces.layout.headerLayout_jspx:109)
  |         at org.apache.jsp.WEB_002dINF.faces.layout.headerLayout_jspx._jspService
  | (org.apache.jsp.WEB_002dINF.faces.layout.headerLayout_jspx:60)
  |         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:332)
  |         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 14)
  |         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
  | atcher.java:672)
  |         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
  | ispatcher.java:574)
  |         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
  | patcher.java:499)
  |         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
  | .java:966)
  |         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav
  | a:614)
  |         at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99
  | )
  |         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
  |         at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760
  | )
  |         at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Inser
  | tTag.java:892)
  |         at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
  | 
  |         at org.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx._jspx_meth_ti
  | les_insert_0(org.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx:235)
  |         at org.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx._jspx_meth_f_
  | subview_0(org.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx:171)
  |         at org.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx._jspService(o
  | rg.apache.jsp.WEB_002dINF.faces.layout.mainLayout_jspx:92)
  |         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:332)
  |         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 14)
  |         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
  | atcher.java:672)
  |         at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
  | tionDispatcher.java:463)
  |         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
  | ispatcher.java:398)
  |         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
  | patcher.java:301)
  |         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
  | h(ServletExternalContextImpl.java:415)
  |         at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(J
  | spTilesViewHandlerImpl.java:233)
  |         at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView
  | (JspTilesViewHandlerImpl.java:219)
  |         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
  | 352)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at test.RefreshRateFilter.doFilter(RefreshRateFilter.java:100)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at test.SecurityFilter.doFilter(SecurityFilter.
  | java:93)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
  | .java:30)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exte
  | nsionsFilter.java:122)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:213)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:178)
  |         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
  | torBase.java:524)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:126)
  |         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:105)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
  | ve.java:107)
  |         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
  | a:148)
  |         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
  | :869)
  |         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
  | rocessConnection(Http11BaseProtocol.java:667)
  |         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
  | int.java:527)
  |         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
  | lowerWorkerThread.java:80)
  |         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
  | ool.java:684)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.NullPointerException
  |         at org.jnp.interfaces.NamingContext.bind(NamingContext.java:557)
  |         at org.jnp.interfaces.NamingContext.bind(NamingContext.java:532)
  |         at javax.naming.InitialContext.bind(InitialContext.java:359)
  |         at org.jboss.seam.contexts.StatelessContext.set(StatelessContext.java:42
  | )
  |         at org.jboss.seam.Component.handleFactoryMethodResult(Component.java:149
  | 8)
  |         at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1473)
  |         at org.jboss.seam.Component.getInstance(Component.java:1422)
  |         at org.jboss.seam.Component.getInstance(Component.java:1406)
  |         at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableR
  | esolver.java:44)
  |         at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVari
  | able(ValueBindingImpl.java:569)
  |         at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
  |         at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
  |         at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
  | :378)
  |         ... 119 more
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974682#3974682

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974682



More information about the jboss-user mailing list