3 Replies Latest reply on Dec 16, 2008 9:02 PM by Leonardo Bernardelli

    fileUpload issue from 2.0.1.GA to 2.1.0.GA

    Diego Coronel Apprentice

      Hi,


      Im getting some problems after migration to seam 2.1.GA. Can anyone help me ?


      Ps.: it was working on 2.0.1.GA seam version.



      14:30:13,181 ERROR [BaseXMLFilter] Exception in the filter chain
      javax.servlet.ServletException: Servlet execution threw an exception
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           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:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.IncompatibleClassChangeError: Found interface org.jboss.seam.web.MultipartRequest, but class was expected
           at org.jboss.seam.ui.renderkit.FileUploadRendererBase.doDecode(FileUploadRendererBase.java:77)
           at org.jboss.seam.ui.util.cdk.RendererBase.decode(RendererBase.java:59)
           at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
           at javax.faces.component.UIInput.decode(UIInput.java:725)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
           at javax.faces.component.UIInput.processDecodes(UIInput.java:639)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIInclude.processDecodes(UIInclude.java:154)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIAjaxRegion.processDecodes(UIAjaxRegion.java:107)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.richfaces.component.UISwitchablePanel.processDecodes(UISwitchablePanel.java:169)
           at org.richfaces.component.UITabPanel.processDecodes(UITabPanel.java:154)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIForm.processDecodes(UIForm.java:209)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIInclude.processDecodes(UIInclude.java:154)
           at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:388)
           at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:235)
           at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:405)
           at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           ... 38 more
      14:30:13,182 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.IncompatibleClassChangeError: Found interface org.jboss.seam.web.MultipartRequest, but class was expected
           at org.jboss.seam.ui.renderkit.FileUploadRendererBase.doDecode(FileUploadRendererBase.java:77)
           at org.jboss.seam.ui.util.cdk.RendererBase.decode(RendererBase.java:59)
           at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
           at javax.faces.component.UIInput.decode(UIInput.java:725)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
           at javax.faces.component.UIInput.processDecodes(UIInput.java:639)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIInclude.processDecodes(UIInclude.java:154)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIAjaxRegion.processDecodes(UIAjaxRegion.java:107)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.richfaces.component.UISwitchablePanel.processDecodes(UISwitchablePanel.java:169)
           at org.richfaces.component.UITabPanel.processDecodes(UITabPanel.java:154)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at javax.faces.component.UIForm.processDecodes(UIForm.java:209)
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
           at org.ajax4jsf.component.UIInclude.processDecodes(UIInclude.java:154)
           at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:388)
           at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:235)
           at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:405)
           at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           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:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:619)