Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4039

Downloading ZIP gives response 500 in browser

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      I get the following trace when downloading files from the workspace as zip.
      Sometimes it seemed to work, sometimes not. Maybe the error is only for larger
      zip files.

      It worked in the older Hudson ver. 1.314, so I reverted to that version.

      [webapp 2009/07/15 12:13:33] - Error while serving
      http://buildserver:8080/job/Server_Setup/ws/setups/product4.0.001//*zip*/serverSetup.zip
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Unknown Source)
      Caused by: hudson.util.IOException2: remote file operation failed
      at hudson.FilePath.act(FilePath.java:647)
      at hudson.FilePath.act(FilePath.java:635)
      at hudson.FilePath.archive(FilePath.java:313)
      at hudson.FilePath.archive(FilePath.java:333)
      at hudson.FilePath.createZipArchive(FilePath.java:287)
      at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202)
      at hudson.model.AbstractProject.doWs(AbstractProject.java:1247)
      ... 35 more
      Caused by: java.io.IOException: Unable to serialize
      hudson.FilePath$FileCallableWrapper@1ba3afe
      at hudson.remoting.UserRequest.serialize(UserRequest.java:145)
      at hudson.remoting.UserRequest.<init>(UserRequest.java:61)
      at hudson.remoting.Channel.call(Channel.java:513)
      at hudson.FilePath.act(FilePath.java:642)
      ... 41 more
      Caused by: java.io.NotSerializableException: hudson.FilePath$ZipArchiverFactory
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.writeObject(Unknown Source)
      at hudson.remoting.UserRequest._serialize(UserRequest.java:134)
      at hudson.remoting.UserRequest.serialize(UserRequest.java:143)
      ... 44 more

      [Winstone 2009/07/15 12:13:33] - Untrapped Error in Servlet
      hudson.util.IOException2: remote file operation failed
      at hudson.FilePath.act(FilePath.java:647)
      at hudson.FilePath.act(FilePath.java:635)
      at hudson.FilePath.archive(FilePath.java:313)
      at hudson.FilePath.archive(FilePath.java:333)
      at hudson.FilePath.createZipArchive(FilePath.java:287)
      at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202)
      at hudson.model.AbstractProject.doWs(AbstractProject.java:1247)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: Unable to serialize
      hudson.FilePath$FileCallableWrapper@1ba3afe
      at hudson.remoting.UserRequest.serialize(UserRequest.java:145)
      at hudson.remoting.UserRequest.<init>(UserRequest.java:61)
      at hudson.remoting.Channel.call(Channel.java:513)
      at hudson.FilePath.act(FilePath.java:642)
      ... 41 more
      Caused by: java.io.NotSerializableException: hudson.FilePath$ZipArchiverFactory
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.writeObject(Unknown Source)
      at hudson.remoting.UserRequest._serialize(UserRequest.java:134)
      at hudson.remoting.UserRequest.serialize(UserRequest.java:143)
      ... 44 more

      javax.servlet.ServletException: remote file operation failed
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:498)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Unknown Source)

        Issue Links

          Activity

          Hide
          patrickpatrick patrickpatrick added a comment -

          Some additional Information:
          Hudson running on Win2000, the content to download is on another Hudson-Slave,
          also on Win2000

          Downloading with ant within a job showed:

          Failed to copy
          http://buildserver:8080/job/Server_Setup/ws/setups/product4.0.001//*zip*/serverSetup.zip
          to E:\hudson\workspace\Automated_Installation\build\server\serverSetup.zip due
          to Server returned HTTP response code: 500 for URL:
          http://buildserver:8080/job/Server_Setup/ws/setups/product4.0.001//*zip*/serverSetup.zip

          Show
          patrickpatrick patrickpatrick added a comment - Some additional Information: Hudson running on Win2000, the content to download is on another Hudson-Slave, also on Win2000 Downloading with ant within a job showed: Failed to copy http://buildserver:8080/job/Server_Setup/ws/setups/product4.0.001//*zip*/serverSetup.zip to E:\hudson\workspace\Automated_Installation\build\server\serverSetup.zip due to Server returned HTTP response code: 500 for URL: http://buildserver:8080/job/Server_Setup/ws/setups/product4.0.001//*zip*/serverSetup.zip
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/FilePath.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=19883
          Log:
          [FIXED JENKINS-4039] Fixed a serilization problem.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/FilePath.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=19883 Log: [FIXED JENKINS-4039] Fixed a serilization problem.
          Hide
          patrickpatrick patrickpatrick added a comment -

          after updating to Hudson ver. 1.318 I still get this Error when downloading a ZIP.

          [webapp 2009/08/06 20:35:46] - Error while serving
          http://buildserver:8080/job/xyz/ws/setups/xyz/xyx/xxycc//*zip*/dddddks.zip
          java.lang.reflect.InvocationTargetException
          at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176)
          at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
          at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          at java.lang.Thread.run(Unknown Source)
          Caused by: hudson.util.IOException2: remote file operation failed
          at hudson.FilePath.act(FilePath.java:672)
          at hudson.FilePath.act(FilePath.java:660)
          at hudson.FilePath.archive(FilePath.java:314)
          at hudson.FilePath.archive(FilePath.java:334)
          at hudson.FilePath.zip(FilePath.java:301)
          at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202)
          at hudson.model.AbstractProject.doWs(AbstractProject.java:1250)
          ... 34 more
          Caused by: java.io.IOException: Unable to serialize
          hudson.FilePath$FileCallableWrapper@18778fd
          at hudson.remoting.UserRequest.serialize(UserRequest.java:145)
          at hudson.remoting.UserRequest.<init>(UserRequest.java:61)
          at hudson.remoting.Channel.call(Channel.java:513)
          at hudson.FilePath.act(FilePath.java:667)
          ... 40 more
          Caused by: java.io.NotSerializableException: hudson.FilePath$DirScanner$Glob
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
          at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
          at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
          at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
          at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.writeObject(Unknown Source)
          at hudson.remoting.UserRequest._serialize(UserRequest.java:134)
          at hudson.remoting.UserRequest.serialize(UserRequest.java:143)
          ... 43 more

          [Winstone 2009/08/06 20:35:46] - Untrapped Error in Servlet
          hudson.util.IOException2: remote file operation failed
          at hudson.FilePath.act(FilePath.java:672)
          at hudson.FilePath.act(FilePath.java:660)
          at hudson.FilePath.archive(FilePath.java:314)
          at hudson.FilePath.archive(FilePath.java:334)
          at hudson.FilePath.zip(FilePath.java:301)
          at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202)
          at hudson.model.AbstractProject.doWs(AbstractProject.java:1250)
          at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176)
          at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
          at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.io.IOException: Unable to serialize
          hudson.FilePath$FileCallableWrapper@18778fd
          at hudson.remoting.UserRequest.serialize(UserRequest.java:145)
          at hudson.remoting.UserRequest.<init>(UserRequest.java:61)
          at hudson.remoting.Channel.call(Channel.java:513)
          at hudson.FilePath.act(FilePath.java:667)
          ... 40 more
          Caused by: java.io.NotSerializableException: hudson.FilePath$DirScanner$Glob
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
          at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
          at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
          at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
          at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
          at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          at java.io.ObjectOutputStream.writeObject(Unknown Source)
          at hudson.remoting.UserRequest._serialize(UserRequest.java:134)
          at hudson.remoting.UserRequest.serialize(UserRequest.java:143)
          ... 43 more

          javax.servlet.ServletException: remote file operation failed
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:498)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
          at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          at java.lang.Thread.run(Unknown Source)

          Show
          patrickpatrick patrickpatrick added a comment - after updating to Hudson ver. 1.318 I still get this Error when downloading a ZIP. [webapp 2009/08/06 20:35:46] - Error while serving http://buildserver:8080/job/xyz/ws/setups/xyz/xyx/xxycc//*zip*/dddddks.zip java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.FilePath.archive(FilePath.java:314) at hudson.FilePath.archive(FilePath.java:334) at hudson.FilePath.zip(FilePath.java:301) at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202) at hudson.model.AbstractProject.doWs(AbstractProject.java:1250) ... 34 more Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@18778fd at hudson.remoting.UserRequest.serialize(UserRequest.java:145) at hudson.remoting.UserRequest.<init>(UserRequest.java:61) at hudson.remoting.Channel.call(Channel.java:513) at hudson.FilePath.act(FilePath.java:667) ... 40 more Caused by: java.io.NotSerializableException: hudson.FilePath$DirScanner$Glob at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:134) at hudson.remoting.UserRequest.serialize(UserRequest.java:143) ... 43 more [Winstone 2009/08/06 20:35:46] - Untrapped Error in Servlet hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.FilePath.archive(FilePath.java:314) at hudson.FilePath.archive(FilePath.java:334) at hudson.FilePath.zip(FilePath.java:301) at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:202) at hudson.model.AbstractProject.doWs(AbstractProject.java:1250) at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@18778fd at hudson.remoting.UserRequest.serialize(UserRequest.java:145) at hudson.remoting.UserRequest.<init>(UserRequest.java:61) at hudson.remoting.Channel.call(Channel.java:513) at hudson.FilePath.act(FilePath.java:667) ... 40 more Caused by: java.io.NotSerializableException: hudson.FilePath$DirScanner$Glob at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:134) at hudson.remoting.UserRequest.serialize(UserRequest.java:143) ... 43 more javax.servlet.ServletException: remote file operation failed at org.kohsuke.stapler.Stapler.invoke(Stapler.java:498) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source)
          Hide
          erben22 erben22 added a comment -

          I have seen a similar issue since 1.315, and confirmed I see the issue in 1.319
          as well. Looking at other issues, issue 4084 might be somewhat applicable as
          well as most of my jobs build on slaves (some are SSH, but most are Windows
          Service slaves though). The projects that fail to let me download as a zip were
          last build on a slave, whereas jobs run on the master do allow me to download
          from the workspace as a zip.

          I cannot get a stack trace at the moment, but when I first noticed this issue,
          the stack trace below is similar to what I observed.

          Show
          erben22 erben22 added a comment - I have seen a similar issue since 1.315, and confirmed I see the issue in 1.319 as well. Looking at other issues, issue 4084 might be somewhat applicable as well as most of my jobs build on slaves (some are SSH, but most are Windows Service slaves though). The projects that fail to let me download as a zip were last build on a slave, whereas jobs run on the master do allow me to download from the workspace as a zip. I cannot get a stack trace at the moment, but when I first noticed this issue, the stack trace below is similar to what I observed.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          branches/rc/core/src/main/java/hudson/FilePath.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=21782
          Log:
          [FIXED JENKINS-4039] Several classes need to be marked as serializable.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: branches/rc/core/src/main/java/hudson/FilePath.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=21782 Log: [FIXED JENKINS-4039] Several classes need to be marked as serializable.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          branches/rc/core/src/test/java/hudson/FilePathTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=21783
          Log:
          added a regression test for JENKINS-4039

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: branches/rc/core/src/test/java/hudson/FilePathTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=21783 Log: added a regression test for JENKINS-4039

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickpatrick patrickpatrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: