Open BenDenen opened 10 months ago
We have the same issue with Android project but only when running on Github actions workflow with ubuntu-latest (2 cores?). It happens randomly: the javadoc generation fails in around 90% of attempts. It turned out that switching to macos-latest solved the issue. The bug never happened when running locally on M2 macOs 14.1.1
Project details: Kotlin 1.9.10, dokka-gradle-plugin 1.9.10, Gradle 8.1.1, Gradle plugin 8.1.2
This issue is flaky. #3151 can fix this. It will be in Dokka 1.9.20 (the release is expected in this month).
I can still reproduce it with Kotlin 2.0.0 and Dokka 1.9.20 MacOS 14.4.1
Describe the bug After updating to Kotlin 1.9.10 and plugging org.jetbrains.dokka to 1.9.10
dokkaGfm
is failing in Android project with error message> Recursion detected on input: takePicture under LockBasedStorageManager@2bac243c (Dokka)
Expected behaviour The documentation is generated as expected
Screenshots
To Reproduce Set up latest Android studio, Kotlin plugin version 1.9.10, Android gradle plugin 8.1.1
Dokka configuration
Installation
Detailed logs