-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins Version - 2.150.1 LTS
-
-
warnings-ng 1.0.1
Hello!
When i use Android Lint or PMD in Declarative Pipeline, i get NPE.
Freestyle Job working fine with Android Lint and PMD.
This is my part of Pipeline:
recordIssues( enabledForFailure: true, tools: [ androidLint(pattern: '**/lint-results*.xml'), checkStyle(pattern: '**/checkstyle*.xml'), findBugs(pattern: '**/findbugs*.xml', useRankAsPriority: true) pmd(pattern: '**/pmd*.xml') ] )
This is received error:
java.lang.NullPointerException at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:621) at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:597) 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$1$1.call(SynchronousNonBlockingStepExecution.java:51) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) 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)
Actually, when i used scanForIssues, I've got another problem:
java.lang.NullPointerException at io.jenkins.plugins.analysis.core.steps.ScanForIssuesStep$Execution.run(ScanForIssuesStep.java:160) at io.jenkins.plugins.analysis.core.steps.ScanForIssuesStep$Execution.run(ScanForIssuesStep.java:126) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) 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)
Thank You!
- is blocked by
-
JENKINS-55349 Duplicate symbols in different plugins cause NPEs
- Open
- relates to
-
JENKINS-53181 Jacoco adapter does not work if Jacoco plugin is installed too
- Resolved
-
JENKINS-55436 Duplicate symbols break declarative pipeline engine
- Resolved