myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Jaekel <fkjae...@gmail.com>
Subject PrimeFaces 4.0.14 + MyFaces 2.2.3: ClassCastException in ConfigContainer
Date Thu, 05 Jun 2014 13:42:15 GMT
Hi,

I'm eventually getting a ClassCastException in my production server. All
pages stop rendering and I need to reload the application to make it work
again.

Problem happens in a PrimeFaces class, but as the value is retrieved from
JSF I'd like to check here too.

Jun 05, 2014 8:06:47 AM javax.faces.component._ExternalSpecifications
isBeanValidationAvailable
Informações: MyFaces Bean Validation support enabled
Jun 05, 2014 8:06:47 AM
br.com.spdata.jsf.util.AbstractRedirectExceptionHandler log
Grave: java.lang.Boolean cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Boolean cannot be cast to
java.lang.String
	at org.primefaces.config.ConfigContainer.initConfigFromContextParams(ConfigContainer.java:104)
	at org.primefaces.config.ConfigContainer.<init>(ConfigContainer.java:60)
	at org.primefaces.context.DefaultApplicationContext.<init>(DefaultApplicationContext.java:30)
	at org.primefaces.context.DefaultRequestContext.getApplicationContext(DefaultRequestContext.java:223)
	at org.primefaces.util.ComponentUtils.getConverter(ComponentUtils.java:130)
	at org.primefaces.renderkit.InputRenderer.getConvertedValue(InputRenderer.java:183)
	at javax.faces.component.UIInput.getConvertedValue(UIInput.java:662)
	at javax.faces.component.UIInput.validate(UIInput.java:598)
	at javax.faces.component.UIInput.processValidators(UIInput.java:274)
	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1457)
	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1457)
	at org.primefaces.component.panel.Panel.processValidators(Panel.java:281)
	at javax.faces.component.UIForm.processValidators(UIForm.java:210)
	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1457)
	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1457)
	at javax.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1697)
	at javax.faces.component.UIViewRoot.access$600(UIViewRoot.java:77)
	at javax.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1804)
	at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1653)
	at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:909)
	at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:38)
	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at br.com.spdata.filter.FileUploadFilter.doFilter(FileUploadFilter.java:118)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at br.com.spdata.tecnico.filter.LoginFilter.doFilter(LoginFilter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)


Any idea of what is causing it?

Thanks a lot.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message