-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.401.2
When a Job is started for the analysis of the IDEA Build, with the marked Inspection (File: IDEA_Inspections) is started the following Error occur (File: TerminalError, xml_Error [the Inspection results]).
We think the problem is caused by this:
https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/parser/IdeaInspectionParser.java
issueBuilder.setFileName(stripPathPrefix(file)) .setLineStart(Integer.parseInt(getChildValue(element, "line"))) // causes the issue
.setCategory(StringEscapeUtils.unescapeXml(getValue(problem)))
The IDEA Inspection (VulnerableLibrariesGobal) doesn't return the line-number, which cause the Exception.
I already created an issus on jetbrain and will also try create an pull-request to make the line-number optional.
- links to
[JENKINS-71687] Intellij IDEA Inspection causes Exception during Jenkins Job
Assignee | Original: Ulli Hafner [ drulli ] | New: Marco [ flashfish ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Remote Link | New: This issue links to "PR #934 (Web Link)" [ 28832 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |