java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Jenkins JIRA | John Werner | 5 years ago
  1. 0

    The version of the Klocwork Plugin is 1.7 During publishing of Klocwork results, the Klocwork plugin fails with an exception (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0) if there are no defects to report. This is causing our builds to be marked as failures. For now, we are disabling the reporting of Klocwork issues to solve the problem. The KW xml output file (klocwork_result.xml) is attached. -- Console Output -- Starting the klocwork analysis. Processing 1 files with the pattern 'klocwork_result.xml'. Not changing build status, since no threshold has been exceeded ERROR: Publisher com.thalesgroup.hudson.plugins.klocwork.KloPublisher aborted due to exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:135) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1459) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 5 years ago | John Werner
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    The version of the Klocwork Plugin is 1.7 During publishing of Klocwork results, the Klocwork plugin fails with an exception (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0) if there are no defects to report. This is causing our builds to be marked as failures. For now, we are disabling the reporting of Klocwork issues to solve the problem. The KW xml output file (klocwork_result.xml) is attached. -- Console Output -- Starting the klocwork analysis. Processing 1 files with the pattern 'klocwork_result.xml'. Not changing build status, since no threshold has been exceeded ERROR: Publisher com.thalesgroup.hudson.plugins.klocwork.KloPublisher aborted due to exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:135) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1459) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 5 years ago | John Werner
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    IndexOutOfBoundsException when adding an arc

    GitHub | 3 years ago | sarahtattersall
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  5. 0

    cucumber-jvm java HelloWorld example OutOfBoundsException error

    Stack Overflow | 4 years ago | Ithar
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. bmacedo 4 times, last 3 days ago
  2. mhicauber 1 times, last 4 days ago
  3. filpgame 2 times, last 7 days ago
  4. tvrmsmith 1 times, last 1 week ago
  5. Indri Yunita 12 times, last 1 week ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. com.thalesgroup.hudson
    KloPublisher.perform
    1. com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:135)
    1 frame
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627)
    7. hudson.model.Run.run(Run.java:1459)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:239)
    10 frames