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

Null pointer execption in buildEnvVars

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Sometimes buildEnvVars throws a null pointer exception.

        Attachments

          Activity

          Hide
          brettb Brett Biba added a comment -

          What was the solution here? I am seeing a similar issue.

          Show
          brettb Brett Biba added a comment - What was the solution here? I am seeing a similar issue.
          Hide
          wolfgang Christian Wolfgang added a comment -

          If I remember it correctly, I tried to access class variables directly from buildEnvVars(), which causes the null pointer exception.
          I then added those particular variables I needed to an Action and accessed them through it.

          I hope it helps!

          Show
          wolfgang Christian Wolfgang added a comment - If I remember it correctly, I tried to access class variables directly from buildEnvVars(), which causes the null pointer exception. I then added those particular variables I needed to an Action and accessed them through it. I hope it helps!

            People

            Assignee:
            wolfgang Christian Wolfgang
            Reporter:
            wolfgang Christian Wolfgang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: