Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56790

using pyLint results to an NPE

XMLWordPrintable

      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.

            drulli Ulli Hafner
            emanuelez emanuelez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: