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

NPE when deploying if no deployment policies are set

XMLWordPrintable

      Since the update to v. 3.5 of WebLogic Deployer Plugin, jobs with no deployment policies set, fail with NullPointerException:

      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.checkPreRequisites(WeblogicDeploymentPlugin.java:330)
      at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:290)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Build step 'Deploy the artifact to any WebLogic environments' marked build as failure

            raphc Raphael CHAUMIER
            mgarrido Manuel J. Garrido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: