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

Finishing with FATAL: null java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Debian Wheezy, Jenkins 2.7.2, oracle-java8-server-jre 8u111-wheezy1

      Successful builds will fail seemingly at random with the below exception.

      Started by timer
      [EnvInject] - Loading node environment variables.
      Building in workspace <http://
      com/job/CA-Colossus_Monitor/ws/>
      [workspace] $ /bin/sh -xe /tmp/hudson7219746524057295462.sh
      + ruby /etc/git/automation_scripts/ruby/colossus_monitor.rb ca
      -0.006550645982850592
      FATAL: null
      java.lang.ArrayIndexOutOfBoundsException
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(FileInputStream.java:233)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:462)
      at hudson.util.ProcessTree$Linux.readFileToByteArray(ProcessTree.java:745)
      at hudson.util.ProcessTree$Linux$LinuxProcess.getEnvironmentVariables(ProcessTree.java:725)
      at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:277)
      at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:513)
      at hudson.Launcher$LocalLauncher.kill(Launcher.java:838)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:540)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)

            Unassigned Unassigned
            klogan Kevin Logan
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: