2016-03-31 51 views
2

目前分支索引壞了,我 - 這個努力創造新的就業機會時,發生適用於舊的工作和也。它是用同一版本已經詹金斯(2.0-β1)的工作 - 不知道是什麼打破了它 - 在網上也和時間在此服務器上是好的(認爲它在證書問題起源可能是這樣):jenkins2分支索引:java.lang.IllegalArgumentException異常:字節字符串== NULL

Branch Indexing Log 

Started by timer 
FATAL: Failed to recompute children of PassAndroid 
java.lang.IllegalArgumentException: byteString == null 
    at okio.Buffer.write(Buffer.java:787) 
    at com.squareup.okhttp.Cache$Entry.readCertificateList(Cache.java:628) 
    at com.squareup.okhttp.Cache$Entry.<init>(Cache.java:555) 
    at com.squareup.okhttp.Cache.get(Cache.java:194) 
    at com.squareup.okhttp.Cache$1.get(Cache.java:139) 
    at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:226) 
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:438) 
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:389) 
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:502) 
    at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) 
    at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25) 
    at org.kohsuke.github.Requester.parse(Requester.java:479) 
    at org.kohsuke.github.Requester._to(Requester.java:236) 
    at org.kohsuke.github.Requester.to(Requester.java:203) 
    at org.kohsuke.github.GitHub.isCredentialValid(GitHub.java:447) 
    at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:224) 
    at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) 
    at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:296) 
    at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:151) 
    at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) 
    at hudson.model.ResourceController.execute(ResourceController.java:98) 
    at hudson.model.Executor.run(Executor.java:410) 
Finished: FAILURE 

任何人也經歷過這種情況,也許有一個解決方法? 我申請了在這裏的錯誤:https://github.com/kohsuke/github-api/issues/265 - 但仍然有興趣在一個替代方案來完成塊我使用詹金斯現在

回答

2

問題是一個損壞的高速緩存

rm -rf org.jenkinsci.plugins.github.GitHubPlugin.cache/ 

解決了這個問題對我來說

相關問題