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

NegativeArraySizeException on Archiving Site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None
    • hudson 1.382, 1.379, 1.380 and 1.381

      After an Upgrade to 1.379 (from 1.366) we got several exceptions on site archiving.

      As we are in need for the new version (because of JENKINS-6817 which seems to be fixed for at least our site with JENKINS-5977) we tried it with 1.380, 1.381 and 1.382 but only the type of the exceptions changed sometimes.

      Some of them are already covered in JENKINS-7783, JENKINS-7581, JENKINS-7745, JENKINS-7734.

      We get additionally a NegativeArraySizeException (at least on 1.382):

      [HUDSON] Archiving site from 25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(4,98)->130945
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(4,4)->130941
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(4,87)->130854
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(4,1)->130853
      /software/hudson/slave-1/data/workspace/de.wwag.vertrieb.pdfService~core~B-trunk~build/target/site25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(4,29)->130882
      to /software/hudson/hudson-1/data/jobs/de.wwag.vertrieb.pdfService~core~B-trunk~build/site
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(4,98)->130980
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(4,4)->130984
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(4,87)->131071
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(4,1)->131072
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(19,8018)->123054
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(19,131072)->-8018
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real decrease
      INFO: decrease(19,8192)->-16210
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(19,8018)->-8192
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(19,131072)->122880
      25.10.2010 17:51:58 hudson.remoting.PipeWindow$Real increase
      INFO: increase(19,8192)->131072
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NegativeArraySizeException
      at hudson.remoting.ProxyOutputStream$Chunk.<init>(ProxyOutputStream.java:175)
      at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123)
      at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:88)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:132)
      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:180)
      at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:138)
      at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:95)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:128)
      at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
      at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
      at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
      at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
      at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
      at hudson.util.io.TarArchiver.close(TarArchiver.java:114)
      at hudson.FilePath.writeToTar(FilePath.java:1545)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1470)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1399)
      at hudson.maven.reporters.MavenSiteArchiver.postExecute(MavenSiteArchiver.java:81)
      at hudson.maven.MavenModuleSetBuild$Builder.postExecute(MavenModuleSetBuild.java:772)
      at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:300)
      at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
      at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:618)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:165)
      at hudson.maven.MavenBuilder.call(MavenBuilder.java:165)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:694)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:638)
      at hudson.remoting.UserRequest.perform(UserRequest.java:114)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
      at java.lang.Thread.run(Thread.java:811)

            Unassigned Unassigned
            micha4311 micha4311
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: