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

NullPointerException in CloneWorkspacePublisher.java:211 after upgrading to 0.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 1.424.2
      Jenkins Clone Workspace SCM Plug-in 0.4

      After upgrading clone-workspace-plugin from 0.3 to 0.4 this happens at the end of the job when it is supposed to start archiving:-

      BUILD SUCCESSFUL
      Total time: 5 minutes 1 second
      Archiving workspace
      ERROR: Publisher hudson.plugins.cloneworkspace.CloneWorkspacePublisher aborted due to exception
      java.lang.NullPointerException
      at hudson.plugins.cloneworkspace.CloneWorkspacePublisher.snapshot(CloneWorkspacePublisher.java:211)
      at hudson.plugins.cloneworkspace.CloneWorkspacePublisher.perform(CloneWorkspacePublisher.java:170)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
      at hudson.model.Build$RunnerImpl.post2(Build.java:161)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
      at hudson.model.Run.run(Run.java:1400)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:175)
      Email was triggered for: Failure

            Unassigned Unassigned
            edrandall Ed Randall
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: