-
Bug
-
Resolution: Fixed
-
Minor
I get a stacktrace when configuring a plugin to include no log entries when posting
job notification:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:382)
at java.util.LinkedList.set(LinkedList.java:345)
at hudson.model.Run.getLog(Run.java:1963)
at com.tikal.hudson.plugins.notification.Phase.getLog(Phase.java:141)
at com.tikal.hudson.plugins.notification.Phase.buildJobState(Phase.java:79)
at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:42)
at com.tikal.hudson.plugins.notification.JobListener.onStarted(JobListener.java:31)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:213)
at hudson.model.Run.execute(Run.java:1747)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
- is related to
-
JENKINS-27323 Out of index error with logLines defaulting to 0
-
- Closed
-
- links to
[JENKINS-27441] hudson.model.Run.getLog throws IndexOutOfBoundsException when called with 0
Description |
Original:
I get a stacktrace when configuring a pluging to include no log entries when posting job notification: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.LinkedList.entry(LinkedList.java:382) at java.util.LinkedList.set(LinkedList.java:345) at hudson.model.Run.getLog(Run.java:1963) at com.tikal.hudson.plugins.notification.Phase.getLog(Phase.java:141) at com.tikal.hudson.plugins.notification.Phase.buildJobState(Phase.java:79) at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:42) at com.tikal.hudson.plugins.notification.JobListener.onStarted(JobListener.java:31) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:213) at hudson.model.Run.execute(Run.java:1747) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) |
New:
I get a stacktrace when configuring a plugin to include no log entries when posting job notification: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.LinkedList.entry(LinkedList.java:382) at java.util.LinkedList.set(LinkedList.java:345) at hudson.model.Run.getLog(Run.java:1963) at com.tikal.hudson.plugins.notification.Phase.getLog(Phase.java:141) at com.tikal.hudson.plugins.notification.Phase.buildJobState(Phase.java:79) at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:42) at com.tikal.hudson.plugins.notification.JobListener.onStarted(JobListener.java:31) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:213) at hudson.model.Run.execute(Run.java:1747) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) |
Assignee | New: Daniel Beck [ danielbeck ] |
Assignee | Original: Daniel Beck [ danielbeck ] | New: Valentin Batz [ valeni ] |
It is not clear what you're doing to get this error. Could you please provide more details?
https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue