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

Could not initialize class hudson.util.jna.Kernel32 when cleaning workspace

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • ws-cleanup-plugin
    • None
    • Jenkins 1.486

      Hi,

      Since upgrading to Jenkins 1.486 I'm getting the following when deleting the workspace:

      Deleting project workspace... ERROR: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception
      09:09:09 hudson.util.IOException2: remote file operation failed: c:\JCI\workspace\AssetProcessor-Live\CONFIG\Release\TARGET\x64Tool\VSVERSION\2010 at hudson.remoting.Channel@4bfe1934:Build2
      09:09:09 at hudson.FilePath.act(FilePath.java:847)
      09:09:09 at hudson.FilePath.act(FilePath.java:824)
      09:09:09 at hudson.FilePath.deleteRecursive(FilePath.java:980)
      09:09:09 at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:68)
      09:09:09 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807)
      09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782)
      09:09:09 at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      09:09:09 at hudson.model.Run.execute(Run.java:1560)
      09:09:09 at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      09:09:09 at hudson.model.ResourceController.execute(ResourceController.java:88)
      09:09:09 at hudson.model.Executor.run(Executor.java:236)
      09:09:09 Caused by: java.io.IOException: Remote call on Build2 failed
      09:09:09 at hudson.remoting.Channel.call(Channel.java:673)
      09:09:09 at hudson.FilePath.act(FilePath.java:840)
      09:09:09 ... 11 more
      09:09:09 Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32
      09:09:09 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62)
      09:09:09 at hudson.Util.isSymlink(Util.java:322)
      09:09:09 at hudson.Util.deleteRecursive(Util.java:283)
      09:09:09 at hudson.FilePath$11.invoke(FilePath.java:982)
      09:09:09 at hudson.FilePath$11.invoke(FilePath.java:980)
      09:09:09 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308)
      09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      09:09:09 at hudson.remoting.Request$2.run(Request.java:326)
      09:09:09 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      09:09:09 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      09:09:09 at java.util.concurrent.FutureTask.run(Unknown Source)
      09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      09:09:09 at hudson.remoting.Engine$1$1.run(Engine.java:60)
      09:09:09 at java.lang.Thread.run(Unknown Source)
      09:09:09 Notifying upstream projects of job completion
      09:09:09 Finished: FAILURE

      This seems to be related to https://issues.jenkins-ci.org/browse/JENKINS-15466

      Is it possible to fix as soon as possible?

      Thanks,
      Tom

            vjuranek vjuranek
            tfields Thomas Fields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: