Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Save Gradle User Home failed in 'beforeSave' #408

Closed
runningcode opened this issue Aug 18, 2022 · 2 comments
Closed

Warning: Save Gradle User Home failed in 'beforeSave' #408

runningcode opened this issue Aug 18, 2022 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@runningcode
Copy link
Member

Seeing this warning here

Warning: Save Gradle User Home failed in 'beforeSave': Error: ENOENT: no such file or directory, lstat '/home/runner/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype'
@bigdaz
Copy link
Member

bigdaz commented Aug 18, 2022

Thanks @runningcode . I've managed to reproduce this error, which appears to be caused by a bug in the @actions/globber library (or it's call to lstat). I have a fix in the works.

@bigdaz bigdaz self-assigned this Aug 18, 2022
@bigdaz bigdaz added the bug Something isn't working label Aug 18, 2022
@bigdaz bigdaz added this to the v2.2.5 milestone Aug 18, 2022
@bigdaz bigdaz closed this as completed in f0ec7fb Aug 18, 2022
@bigdaz
Copy link
Member

bigdaz commented Aug 18, 2022

Fix is in.
It appears that this came down to a corrupted Gradle User Home cache entry, which contained broken symbolic links for certain directories. With the fix, these are ignored and the newly created cache entry is no longer corrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants