Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants