2015-05-14 39 views
3

將一位老主人jenkins(v.1.573)克隆到一個新的主jenkins(v.1.599),並且它正在成功構建,儘管每次構建後都會發生異常。詹金斯。在指紋識別時出現異常

在舊主節點上運行的從站已重新配置爲新主節點上的從站。

我在網上搜索,並沒有太多的信息如何解決這個問題。任何幫助,將不勝感激。

[INFO] BUILD SUCCESS 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 56:45.463s 
[INFO] Finished at: Thu May 14 11:37:20 CEST 2015 
[INFO] Final Memory: 221M/10715M 
[INFO] ------------------------------------------------------------------------ 
ERROR: Asynchronous execution failure 
    java.util.concurrent.ExecutionException: java.lang.NullPointerException 
    at hudson.remoting.Channel$3.adapt(Channel.java:755) 
    at hudson.remoting.Channel$3.adapt(Channel.java:750) 
    at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 
    at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:328) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:744) 
Caused by: java.lang.NullPointerException 
ERROR: Asynchronous execution failure 
java.util.concurrent.ExecutionException: java.lang.NullPointerException 
    at hudson.remoting.Channel$3.adapt(Channel.java:755) 
    at hudson.remoting.Channel$3.adapt(Channel.java:750) 
    at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 
    at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:328) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:744) 
Caused by: java.lang.NullPointerException 
ERROR: Asynchronous execution failure 
java.util.concurrent.ExecutionException: java.lang.ClassCastException: java.lang.String cannot be cast to hudson.model.Fingerprint 
    at hudson.remoting.Channel$3.adapt(Channel.java:755) 
    at hudson.remoting.Channel$3.adapt(Channel.java:750) 
    at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 
    at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:328) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:744) 
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to hudson.model.Fingerprint 
    at hudson.model.Fingerprint.load(Fingerprint.java:1250) 
    at hudson.model.Fingerprint.load(Fingerprint.java:1238) 
    at hudson.model.FingerprintMap.load(FingerprintMap.java:94) 
    at hudson.model.FingerprintMap.load(FingerprintMap.java:45) 
    at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154) 
    at hudson.model.FingerprintMap.get(FingerprintMap.java:79) 
    at hudson.model.FingerprintMap.get(FingerprintMap.java:45) 
    at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108) 
    at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65) 
    at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125) 
    at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112) 
    at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:419) 
    at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:547) 
    at sun.reflect.GeneratedMethodAccessor836.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at hudson.model.Executor$1.call(Executor.java:579) 
    at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) 
    at com.sun.proxy.$Proxy94.execute(Unknown Source) 
    at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:294) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:121) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:49) 
    at hudson.remoting.Request$2.run(Request.java:324) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 
    at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) 
    at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) 
    at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 
... 4 more 

回答

0

這似乎很奇怪更新到舊的(和非LTS)版本詹金斯像1.599,所以我通常會說,你應該使用最新的版本(目前詹金斯1.613)嘗試。

但在任何情況下,它看起來像已經有一個非常類似的記錄的問題,有幾個人跟蹤它:
https://issues.jenkins-ci.org/browse/JENKINS-23566

這很可能是有益的,如果你能貢獻你的經驗和OS /詹金斯版本信息在那裏。