詹金斯获得错误java.lang.IllegalStateException:已关闭

时间:2019-09-04 11:59:38

标签: jenkins exception illegalstateexception

我有几个Jenkins作业,但全部都失败,并出现以下相同错误,并且没有更多信息。 我检查了一些错误线程,但找不到任何东西

Started by user Kadamb
java.lang.IllegalStateException: closed
    at okio.RealBufferedSink.writeUtf8(RealBufferedSink.java:56)
    at com.squareup.okhttp.internal.DiskLruCache.get(DiskLruCache.java:433)
    at com.squareup.okhttp.Cache.get(Cache.java:184)
    at com.squareup.okhttp.Cache$1.get(Cache.java:139)
    at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:207)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:450)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:399)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:155)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:199)
    at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getHeaderField(DelegatingHttpsURLConnection.java:190)
    at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:25)
    at org.kohsuke.github.Requester.noteRateLimit(Requester.java:350)
    at org.kohsuke.github.Requester._to(Requester.java:300)
    at org.kohsuke.github.Requester.to(Requester.java:239)
    at org.kohsuke.github.GitHub.checkApiUrlValidity(GitHub.java:734)
    at org.jenkinsci.plugins.github_branch_source.Connector.checkApiUrlValidity(Connector.java:324)
    at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.checkApiUrlValidity(GitHubSCMSource.java:1380)
    at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:1433)
    at jenkins.scm.api.SCMSource.fetch(SCMSource.java:583)
    at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:95)
    at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:303)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

可能是什么原因造成的?有人知道吗?

我是Jenkins的新手,任何帮助将不胜感激

修改:
在精疲力尽地寻找解决方案之后,我刚刚重新启动了Jenkins服务器,它解决了问题。

0 个答案:

没有答案