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

NPE while deploying application on private repository

    Details

    • Similar Issues:

      Description

      After enabling the deployment of my artifact on my private CloudBees snapshot repository, I get this error when I build my project :

      [cloudbees-deployer] Deploying myapp
      java.lang.NullPointerException
      at com.cloudbees.plugins.deployer.engines.Engine.perform(Engine.java:89)
      at com.cloudbees.plugins.deployer.DeployBuilder.perform(DeployBuilder.java:80)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:727)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:866)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:805)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:509)
      at hudson.model.Run.execute(Run.java:1505)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

      My project is a simple war project (with GWT).

        Attachments

          Activity

          Hide
          ericcitaire Eric Citaire added a comment -

          Oops... I think this component may not be the Jenkins plugin I'm using. I was confused by the name of the project.

          Sorry.

          Show
          ericcitaire Eric Citaire added a comment - Oops... I think this component may not be the Jenkins plugin I'm using. I was confused by the name of the project. Sorry.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          This error is thrown when you have not selected a source of the application to be deployed. The source will typically be one of: Fixed selection; First match; or Maven artifact.

          In some circumstances the Job configuration can become messed up and none of the radio buttons are selected for a specific target. This NPE is the result in such cases. The latest version of the plugin displays a clearer error message to clarify that the source is undefined.

          Show
          stephenconnolly Stephen Connolly added a comment - This error is thrown when you have not selected a source of the application to be deployed. The source will typically be one of: Fixed selection; First match; or Maven artifact. In some circumstances the Job configuration can become messed up and none of the radio buttons are selected for a specific target. This NPE is the result in such cases. The latest version of the plugin displays a clearer error message to clarify that the source is undefined.

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              ericcitaire Eric Citaire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: