java.lang.IllegalArgumentException: byteString == null
See original GitHub issueI hope this is the right repo for this bug:
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
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Untraceable fatal Exception caused by java.lang ... - GitHub
Untraceable fatal Exception caused by java.lang.IllegalArgumentException: byteString == null #2281. marcusmotill opened this issue on Jan 25, ...
Read more >jenkins2 branch-indexing: java.lang.IllegalArgumentException
IllegalArgumentException : byteString == null ... Indexing Log Started by timer FATAL: Failed to recompute children of PassAndroid java.lang.
Read more >java.lang.IllegalArgumentException: im == null! - CodeRanch
This is portion of my code. Here I wrote a method 'stegProcess' that returns a byte[]. I want to write an image file...
Read more >java.lang.IllegalArgumentException when reading database
Hi Eugene, The exception indicates that the UTF data stored in the record is invalid for the UTF format. It is very likely...
Read more >MQDataOutput (IBM Business Process Manager, Release 8)
Writes an array of bytes, truncated or null-padded as necessary, into a fixed-length field. ... IllegalArgumentException - if len is negative: java.lang.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If anyone has the same problem: rm -rf org.jenkinsci.plugins.github.GitHubPlugin.cache/ solved the issue for me
Some of the comment went off sideways and distracts from the fundamental issue here, but the problem seems to be that OkHttp can cause cache corruption and if/when it happens it cannot recover from that without a human intervention.
Given that okhttp treats this is “not reproducible, closed”, I think the next step is to file a ticket to okhttp asking them to gracefully recover from cache corruption like this.
I’m afraid there’s nothing github-api can do with this problem.