1 2 Previous Next 15 Replies Latest reply on Mar 10, 2011 7:50 AM by yogendra kumar

    fileUpload Transfer error occurred

    praveen jain Novice

      hi

      i am using fileupload control but getting the error "Transfer error occurred"

       

      SEVERE: Exception in the filter chain

      javax.servlet.ServletException

      at javax.faces.webapp.FacesServlet.service(

       

      FacesServlet.java:325)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

       

      ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

       

      ApplicationFilterChain.java:206)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(

       

      BaseXMLFilter.java:178)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(

       

      BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(

       

      BaseFilter.java:385)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(

       

      BaseFilter.java:515)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

       

      ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

       

      ApplicationFilterChain.java:206)

      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(

       

      ExtensionsFilter.java:301)

      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:233)

      at org.apache.catalina.core.StandardContextValve.invoke(

       

      StandardContextValve.java:191)

      at org.apache.catalina.core.StandardHostValve.invoke(

       

      StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(

       

      ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(

       

      StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(

       

      CoyoteAdapter.java:298)

      at org.apache.coyote.http11.Http11Processor.process(

       

      Http11Processor.java:852)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

       

      Http11Protocol.java:588)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(

       

      JIoEndpoint.java:489)

      at java.lang.Thread.run(Unknown Source)

      Caused by:

       

      java.lang.NullPointerException

      at org.richfaces.renderkit.FileUploadRendererBase.doDecode(

       

      FileUploadRendererBase.java:138)

      at org.ajax4jsf.renderkit.RendererBase.decode(

       

      RendererBase.java:75)

      at javax.faces.component.UIComponentBase.decode(

       

      UIComponentBase.java:790)

      at javax.faces.component.UIInput.decode(

       

      UIInput.java:744)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1047)

      at javax.faces.component.UIInput.processDecodes(

       

      UIInput.java:658)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1042)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1042)

      at javax.faces.component.UIForm.processDecodes(

       

      UIForm.java:216)

      at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(

       

      AjaxViewRoot.java:395)

      at org.ajax4jsf.component.AjaxViewRoot.processPhase(

       

      AjaxViewRoot.java:235)

      at org.ajax4jsf.component.AjaxViewRoot.processDecodes(

       

      AjaxViewRoot.java:412)

      at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(

       

      ApplyRequestValuesPhase.java:78)

      at com.sun.faces.lifecycle.Phase.doPhase(

       

      Phase.java:101)

      at com.sun.faces.lifecycle.LifecycleImpl.execute(

       

      LifecycleImpl.java:118)

      at javax.faces.webapp.FacesServlet.service(

       

      FacesServlet.java:312)

      ... 21 more

      Feb 9, 2010 12:04:57 PM org.apache.catalina.core.StandardWrapperValve invoke

      SEVERE: Servlet.service() for servlet Faces Servlet threw exception

      java.lang.NullPointerException

      at org.richfaces.renderkit.FileUploadRendererBase.doDecode(

       

      FileUploadRendererBase.java:138)

      at org.ajax4jsf.renderkit.RendererBase.decode(

       

      RendererBase.java:75)

      at javax.faces.component.UIComponentBase.decode(

       

      UIComponentBase.java:790)

      at javax.faces.component.UIInput.decode(

       

      UIInput.java:744)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1047)

      at javax.faces.component.UIInput.processDecodes(

       

      UIInput.java:658)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1042)

      at javax.faces.component.UIComponentBase.processDecodes(

       

      UIComponentBase.java:1042)

      at javax.faces.component.UIForm.processDecodes(

       

      UIForm.java:216)

      at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(

       

      AjaxViewRoot.java:395)

      at org.ajax4jsf.component.AjaxViewRoot.processPhase(

       

      AjaxViewRoot.java:235)

      at org.ajax4jsf.component.AjaxViewRoot.processDecodes(

       

      AjaxViewRoot.java:412)

      at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(

       

      ApplyRequestValuesPhase.java:78)

      at com.sun.faces.lifecycle.Phase.doPhase(

       

      Phase.java:101)

      at com.sun.faces.lifecycle.LifecycleImpl.execute(

       

      LifecycleImpl.java:118)

      at javax.faces.webapp.FacesServlet.service(

       

      FacesServlet.java:312)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

       

      ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

       

      ApplicationFilterChain.java:206)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(

       

      BaseXMLFilter.java:178)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(

       

      BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(

       

      BaseFilter.java:385)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(

       

      BaseFilter.java:515)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

       

      ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(

       

      ApplicationFilterChain.java:206)

      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(

       

      ExtensionsFilter.java:301)

      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:233)

      at org.apache.catalina.core.StandardContextValve.invoke(

       

      StandardContextValve.java:191)

      at org.apache.catalina.core.StandardHostValve.invoke(

       

      StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(

       

      ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(

       

      StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(

       

      CoyoteAdapter.java:298)

      at org.apache.coyote.http11.Http11Processor.process(

       

      Http11Processor.java:852)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

       

      Http11Protocol.java:588)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(

       

      JIoEndpoint.java:489)

      at java.lang.Thread.run(Unknown Source)

       

      attached is web.xml,

      please tell me how to solve the issue.

       

        1 2 Previous Next