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

Jenkins JIRA | John Werner | 5 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

    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. filpgame 1 times, last 2 weeks ago
  2. poroszd 2 times, last 2 weeks ago
  3. Donsy 4 times, last 2 weeks ago
  4. Adrien 2 times, last 2 weeks ago
  5. Indri Yunita 4 times, last 3 weeks ago
66 more registered users
29 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