Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
705 views
in Technique[技术] by (71.8m points)

Cannot save config file & Failed to load DLL from static location on my jenkins node agent

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...