Skip to content

resolve issues identified by SpotBugs

ci.jenkins.io / SpotBugs failed Aug 31, 2023 in 0s

2 new issues

Total New Outstanding Fixed Trend
2 2 0 0 👎

Reference build: Plugins » repository-connector-plugin » master #68

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 2 0

Annotations

Check warning on line 93 in src/main/java/org/jvnet/hudson/plugins/repositoryconnector/aether/RecorderAction.java

See this annotation in the file changed.

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

NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE

NORMAL:
Possible null pointer dereference in new org.jvnet.hudson.plugins.repositoryconnector.aether.RecorderAction$Artifact(RepositoryEvent, RepositoryLayout) due to return value of called method
Raw output
<p> The return value from a method is dereferenced without a null check, and the return value of that method is one that should generally be checked for null. This may lead to a <code>NullPointerException</code> when the code is executed. </p>

Check warning on line 223 in src/main/java/org/jvnet/hudson/plugins/repositoryconnector/aether/RecorderAction.java

See this annotation in the file changed.

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

NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE

NORMAL:
Possible null pointer dereference in new org.jvnet.hudson.plugins.repositoryconnector.aether.RecorderAction$Metadata(RepositoryEvent, RepositoryLayout) due to return value of called method
Raw output
<p> The return value from a method is dereferenced without a null check, and the return value of that method is one that should generally be checked for null. This may lead to a <code>NullPointerException</code> when the code is executed. </p>