Skip to content

review fixes

fc4a263
Select commit
Loading
Failed to load commit list.
Merged

Add JIRA_ISSUES_SIZE to the JiraEnvironmentVariableBuilder #707

review fixes
fc4a263
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / SpotBugs failed Jun 6, 2025 in 0s

1 new issue

Total New Outstanding Fixed Trend
1 1 0 0 👎

Reference build: Plugins » jira-plugin » master #486

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 1 0

Annotations

Check warning on line 71 in src/main/java/hudson/plugins/jira/JiraEnvironmentVariableBuilder.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

NP_NULL_ON_SOME_PATH

NORMAL:
Possible null pointer dereference of null in hudson.plugins.jira.JiraEnvironmentVariableBuilder.perform(AbstractBuild, Launcher, BuildListener)
Raw output
<p> There is a branch of statement that, <em>if executed,</em> guarantees that a null value will be dereferenced, which would generate a <code>NullPointerException</code> when the code is executed. Of course, the problem might be that the branch or statement is infeasible and that the null pointer exception can't ever be executed; deciding that is beyond the ability of SpotBugs. </p>