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

CIFS blank destination fails with strange error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • cifs-plugin
    • None
    • Hudson 1.395
      CIFS-Publisher Plugin 1.1.12
      Windows XP SP3 Host

      See HUDSON-8718 for the original issue before the move to Jenkins.

      In the CIFS-Publisher project settings, when the destination is left blank, the system reports a strange error:
      ERROR: Failed to upload files
      java.lang.NullPointerException
      at com.slide.hudson.plugins.CIFSPublisher.perform(CIFSPublisher.java:167)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579)
      at hudson.model.Build$RunnerImpl.post2(Build.java:156)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      Finished: UNSTABLE

      I would expect a more descriptive error message and a blank field to signify the root of the share (preferred option).

      Workaround: if the intention was to put the file at the root of the share, enter "." for the destination folder.

            slide_o_mix Alex Earl
            dvader Darth Vader
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: