[JIRA] (JENKINS-57799) IndexOutOfBoundsException

14 views
Skip to first unread message

jsnmcdev@gmail.com (JIRA)

unread,
May 31, 2019, 1:37:03 PM5/31/19
to jenkinsc...@googlegroups.com
Jason MCDev created an issue
 
Jenkins / Bug JENKINS-57799
IndexOutOfBoundsException
Issue Type: Bug Bug
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2019-05-31 17:36
Environment: Linux - Ubuntu
Jenkins ver. 2.164.2
Warnings Next Generation Plugin 5.0.0
Priority: Blocker Blocker
Reporter: Jason MCDev

Given the following pipeline code:

recordIssues aggregatingResults: true, enabledForFailure: true, minimumSeverity: 'HIGH', tools: [clangTidy(), clang(), gcc(), myPy(), pep8(), pyDocStyle()]

I get this exception:

Could not parse build causes edu.hm.hafner.analysis.ParsingException: Exception occurred during parsing
IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at se.bjurr.violations.lib.parsers.PyDocStyleParser.parseReportOutput(PyDocStyleParser.java:26)
	at edu.hm.hafner.analysis.parser.violations.AbstractViolationAdapter.parse(AbstractViolationAdapter.java:33)
	at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scanInConsoleLog(ReportScanningTool.java:173)
	at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scan(ReportScanningTool.java:122)
	at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:67)
	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:573)
	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:529)
	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:509)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
May 31, 2019, 5:26:02 PM5/31/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-57799
 
Re: IndexOutOfBoundsException

Can you narrow down the part of the log that causes the exception?

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 17, 2019, 4:52:02 PM6/17/19
to jenkinsc...@googlegroups.com
 
Re: IndexOutOfBoundsException

Ping, please provide an example file.

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 17, 2019, 4:53:01 PM6/17/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 17, 2019, 4:54:02 PM6/17/19
to jenkinsc...@googlegroups.com

davidhart82@gmail.com (JIRA)

unread,
Jul 11, 2019, 7:06:02 AM7/11/19
to jenkinsc...@googlegroups.com
David Hart commented on Bug JENKINS-57799
 
Re: IndexOutOfBoundsException

This occurs if you specify `-s` as a flag to pydocstyle, i.e. show source. The parser is not expecting source in the output.  

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 14, 2019, 5:29:03 PM10/14/19
to jenkinsc...@googlegroups.com
Ulli Hafner started work on Bug JENKINS-57799
 
Change By: Ulli Hafner
Status: Open In Progress
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 14, 2019, 5:30:04 PM10/14/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: In Progress Fixed but Unreleased
Resolution: Fixed

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 15, 2019, 4:34:08 AM10/15/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Fixed but Unreleased Resolved
Released As: analysis-model 6.0.3
Reply all
Reply to author
Forward
0 new messages