question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.IllegalArgumentException: byteString == null

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ligicommented, Mar 31, 2016

If anyone has the same problem: rm -rf org.jenkinsci.plugins.github.GitHubPlugin.cache/ solved the issue for me

1reaction
kohsukecommented, Jun 4, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found