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

Free-style job causes NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • envinject-plugin
    • None

      I have installed the EnvInject plugin. Currently it is not enabled in any job.

      In a free-style job (JUnit/Ant) the following exception is thrown always:

      INFO: my_job_unit_tests #181 main build action completed: SUCCESS
      11.01.2012 11:01:44 hudson.model.Executor run
      SEVERE: Executor threw an exception
      java.lang.NullPointerException
      at org.jenkinsci.plugins.envinject.EnvInjectListener.onCompleted(EnvInjectListener.java:191)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:178)
      at hudson.model.Run.run(Run.java:1454)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

            gbois Gregory Boissinot
            fastblitzer Christian Gnüchtel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: