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

SVN fail to revert working dir : NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • Jenkins Subversion Plug-in : 1.45
      Jenkins node running : Unix slave, version 2.21

      We have this error when we build using the revert + update SVN strategy.

      Building remotely on MobileXcodeNode in workspace /Users/dev/jenkins/workspace/project
      Reverting /Users/dev/jenkins/workspace/project/source to depth infinity with ignoreExternals: false
      FATAL: null
      java.lang.NullPointerException
      	at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:176)
      	at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
      	at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903)
      	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884)
      	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      

      When I try to do the revert manually on the node I can see this error not correctly handled by Jenkins :

      MobileXcodeNode:source dev$ svn revert . -R
      Failed to revert 'Titanium_app/Resources' -- try updating instead.
      

      Thanks

            kutzi kutzi
            eboudrant Emmanuel Boudrant
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: