Skip to content

Intermittent failure: lateinit property rootDir has not been initialized #738

@sproctor

Description

@sproctor
  • I have read the [guidelines for submitting issues]

🐛 Describe the bug

About 1 in 4 times it runs, I get this error:

7:30:35 AM: Executing 'refreshVersions'…

Reusing configuration cache.
> Task :refreshVersions FAILED
1 actionable task: 1 executed
Configuration cache entry reused.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':refreshVersions'.
> lateinit property rootDir has not been initialized

I don't reference rootDir anywhere in my project and it only happens with refreshVersions. I assume it's something to do with the configuration cache.

💣 Steps to reproduce

Uncertain. The problem is extremely intermittent. If it happens once, it will typically continue to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions