Issue Type: Bug Bug
Assignee: Unassigned
Components: notification-plugin
Created: 10/Mar/15 7:29 PM
Description:

With the logLines config option, the default value is 0.
This causes an out of bounds issue. I had to manually change the value to -1 to address this.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.checkElementIndex(LinkedList.java:553)
at java.util.LinkedList.set(LinkedList.java:488)
at hudson.model.Run.getLog(Run.java:1962)
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:1746)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Environment: Jenkins 1.602
Plugin Version 1.9
Project: Jenkins
Priority: Major Major
Reporter: Kevin R.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to