-
Type:
Improvement
-
Resolution: Cannot Reproduce
-
Priority:
Major
-
Component/s: structs-plugin, warnings-ng-plugin, workflow-cps-plugin
-
None
-
Environment:Jenkins 2.164.1
Warnings-ng 4.0.0
Using the pyLint parser like this:
recordIssues enabledForFailure: true, tool: pyLint(pattern: 'pylint.log')
Â
Results in such NPE:
Error when executing always post condition:
java.lang.NullPointerException
at org.jenkinsci.plugins.structs.SymbolLookup.findDescriptor(SymbolLookup.java:147)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:178)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)
at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Also, pyLint does not appear in the list of available parsers in the snippet generator.