The following isuues occurred on my jenkins agent several times. How do I resolve this?
How do i get my jenkins slave work consistently without those errors?
SEVERE: Cannot save config file 'FileBasedConfig[V:.configjgitconfig]'
java.io.IOException: Creating directories for V:.configjgit failed
at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:411)
at org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:130)
at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:219)
at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:735)
at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$4(FS.java:424)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Jan 13, 2021 7:29:33 PM org.jvnet.winp.Native loadByUrl
WARNING: Failed to load DLL from static location
java.lang.UnsatisfiedLinkError: Native Library C:jenkins
emotingjarCache44winp.x64.BFFE30B3B50581290B1866EF8D48C609.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.jvnet.winp.Native.loadDll(Native.java:242)
at org.jvnet.winp.Native.loadByUrl(Native.java:162)
at org.jvnet.winp.Native.load(Native.java:124)
at org.jvnet.winp.Native.<clinit>(Native.java:93)
at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:245)
at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:701)
at hudson.util.ProcessTree.get(ProcessTree.java:447)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1164)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1155)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
at java.lang.Thread.run(Unknown Source)```
question from:
https://stackoverflow.com/questions/65713910/cannot-save-config-file-failed-to-load-dll-from-static-location-on-my-jenkins 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…