Server: Apache Tomcat/5.0.28
JSF 1.1
I really don't understand this. I have a simple bean that I am testing
with:
import java.io.Serializable;
public class BannerBean implements Serializable {
private String authDetails = "My Details";
public String getAuthDetails() {
return authDetails;
}
public void setAuthDetails(String authDetails) {
this.authDetails = authDetails;
}
}
*Anytime* I try to bind the field authDetails to an h:outputText with:
<h:outputText value="#{banner.authDetails}"/>
I return the following in my Tomcat log:
javax.faces.el.EvaluationException: javax.faces.FacesException:
java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
My backing bean is defined as the following in my faces-config.xml:
<managed-bean>
<description>Banner</description>
<managed-bean-name>banner</managed-bean-name>
<managed-bean-class>com.dtn.petro2.petroadmin.common.BannerBean</managed
-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<map-entries>
<map-entry>
<key>authDetails</key>
<value>My Details</value>
</map-entry>
</map-entries>
</managed-bean>
Below is the full stack trace. I'd appreciate any help, suggestions or
thoughts on this.
Thanks,
--Todd
2006-10-25 08:18:02 ApplicationDispatcher[/petroadmin] Servlet.service()
for servlet jsp threw exception
javax.faces.el.EvaluationException: javax.faces.FacesException:
java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlB
asicInputRenderer.java:82)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(Htm
lBasicRenderer.java:191)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasic
Renderer.java:169)
at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712
)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:443)
at
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRende
rer.java:233)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:693)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:435)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:440)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:440)
at
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRende
rer.java:233)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:693)
at
javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:600
)
at
javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)
at
com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:
460)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_h_panelGr
id_2(eaigft_005fadd_005foption_jsp.java:770)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_t_documen
tBody_0(eaigft_005fadd_005foption_jsp.java:426)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_t_documen
t_0(eaigft_005fadd_005foption_jsp.java:229)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_f_view_0(
eaigft_005fadd_005foption_jsp.java:196)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspService(eaigft_0
05fadd_005foption_jsp.java:162)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterS
ecurityInterceptor.java:97)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Filte
rSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTransl
ationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilt
er(SecurityContextHolderAwareRequestFilter.java:81)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessin
gFilter.java:217)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(H
ttpSessionContextIntegrationFilter.java:131)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:1
48)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java
:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.j
ava:322)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a:147)
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
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterS
ecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Filte
rSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTransl
ationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilt
er(SecurityContextHolderAwareRequestFilter.java:81)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessin
gFilter.java:217)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(H
ttpSessionContextIntegrationFilter.java:193)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:1
48)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java
:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
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:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
..java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.FacesException: java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManage
dBeans(ApplicationAssociate.java:263)
at
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverIm
pl.java:78)
at
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluat
orImpl.java:243)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
... 107 more
Caused by: java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.j
ava:228)
at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManage
dBeans(ApplicationAssociate.java:253)
... 112 more
2006-10-25 08:18:02 StandardWrapperValve[faces]: Servlet.service() for
servlet faces threw exception
javax.faces.el.EvaluationException: javax.faces.FacesException:
java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlB
asicInputRenderer.java:82)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(Htm
lBasicRenderer.java:191)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasic
Renderer.java:169)
at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712
)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:443)
at
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRende
rer.java:233)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:693)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:435)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:440)
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Htm
lBasicRenderer.java:440)
at
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRende
rer.java:233)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:693)
at
javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:600
)
at
javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)
at
com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:
460)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_h_panelGr
id_2(eaigft_005fadd_005foption_jsp.java:770)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_t_documen
tBody_0(eaigft_005fadd_005foption_jsp.java:426)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_t_documen
t_0(eaigft_005fadd_005foption_jsp.java:229)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspx_meth_f_view_0(
eaigft_005fadd_005foption_jsp.java:196)
at
org.apache.jsp.eaigft.eaigft_005fadd_005foption_jsp._jspService(eaigft_0
05fadd_005foption_jsp.java:162)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterS
ecurityInterceptor.java:97)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Filte
rSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTransl
ationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilt
er(SecurityContextHolderAwareRequestFilter.java:81)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessin
gFilter.java:217)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(H
ttpSessionContextIntegrationFilter.java:131)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:1
48)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java
:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.j
ava:322)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a:147)
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
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterS
ecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Filte
rSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTransl
ationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilt
er(SecurityContextHolderAwareRequestFilter.java:81)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessin
gFilter.java:217)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(H
ttpSessionContextIntegrationFilter.java:193)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Filt
erChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:1
48)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java
:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
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:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
..java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.FacesException: java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManage
dBeans(ApplicationAssociate.java:263)
at
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverIm
pl.java:78)
at
com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluat
orImpl.java:243)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
... 107 more
Caused by: java.lang.ClassCastException:
com.dtn.petro2.petroadmin.common.BannerBean
at
com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.j
ava:228)
at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManage
dBeans(ApplicationAssociate.java:253)
... 112 more
-----------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.