java.lang.ArrayIndexOutOfBoundsException: 0

Jenkins JIRA | Mario Hochreiter | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/target/**.exec;**/target/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files: 1 [JaCoCo plugin] Saving matched execfiles: /var/jenkins/workspace/fxtb-dev-Trade/target/jacoco.exec [JaCoCo plugin] Saving matched class directories: /var/jenkins/workspace/fxtb-dev-Trade/target/classes [JaCoCo plugin] Saving matched source directories: /var/jenkins/workspace/fxtb-dev-Trade/src/main/java [JaCoCo plugin] Loading inclusions files.. ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.lang.ArrayIndexOutOfBoundsException: 0 at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:117) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137) at hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:249) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:332) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:313) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:363) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Performing Post build task...

    Jenkins JIRA | 4 years ago | Mario Hochreiter
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/target/**.exec;**/target/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files: 1 [JaCoCo plugin] Saving matched execfiles: /var/jenkins/workspace/fxtb-dev-Trade/target/jacoco.exec [JaCoCo plugin] Saving matched class directories: /var/jenkins/workspace/fxtb-dev-Trade/target/classes [JaCoCo plugin] Saving matched source directories: /var/jenkins/workspace/fxtb-dev-Trade/src/main/java [JaCoCo plugin] Loading inclusions files.. ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.lang.ArrayIndexOutOfBoundsException: 0 at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:117) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137) at hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:249) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:332) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:313) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:363) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Performing Post build task...

    Jenkins JIRA | 4 years ago | Mario Hochreiter
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure()
    2. hudson.plugins.jacoco
      JacocoPublisher.perform
      1. hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:117)
      2. hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137)
      3. hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:249)
      4. hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:332)
      5. hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:313)
      6. hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:363)
      6 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782)
      3 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.post2
      1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994)
      1 frame
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729)
      2. hudson.model.Run.execute(Run.java:1541)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:236)
      2 frames