Using a private repo with "Fetch whole repository" enable.
It's a java/gradle project that uses this pluging to retrieve repo/branch information
gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:2.2.2
It throws the following exception
16-Jun-2020 16:12:30 Execution failed for task ':generateGitProperties'.
16-Jun-2020 16:12:30 > org.eclipse.jgit.errors.MissingObjectException: Missing unknown ....2b49aa19472cec0750ba8
It works ok locally on my computer.