github-plugin icon indicating copy to clipboard operation
github-plugin copied to clipboard

[JENKINS-38358] resource leak in cache?

Open jenkins-infra-bot opened this issue 9 years ago • 0 comments

java.io.IOException: Unable to delete file: C:\Users\XXX\AppData\Local\Temp\hudson2592457631282151845test\org.jenkinsci.plugins.github.GitHubPlugin.cache\78a5c95e\journal

Current okhttp library version has not closed Cache that contains closeable cache.

Update to newer version that has autocloseable https://github.com/square/okhttp/commit/d662c1a82851800c46ad8ede2d9d10d10427fdad and close it somewhere


Originally reported by integer, imported from: resource leak in cache?
  • assignee: integer
  • status: Open
  • priority: Minor
  • component(s): github-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08
Raw content of original issue
java.io.IOException: Unable to delete file: C:\Users\XXX\AppData\Local\Temp\hudson2592457631282151845test\org.jenkinsci.plugins.github.GitHubPlugin.cache\78a5c95e\journal

Current okhttp library version has not closed Cache that contains closeable cache.

Update to newer version that has autocloseable https://github.com/square/okhttp/commit/d662c1a82851800c46ad8ede2d9d10d10427fdad and close it somewhere

jenkins-infra-bot avatar Sep 19 '16 22:09 jenkins-infra-bot