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
StackOverflowError on kotlin multiplatform module dokkaHtmlMultimodule #2853
Comments
Hello, Do you have any pointers on this? I will try to find some time this week to take a look and gather more info. |
Hi! It's quite difficult to say as Try running it without the configuration first, and if it works - try introducing each configuration property one by one. Maybe it'll be narrowed done to something specific like If running |
I'm closing this one as we brought it back, with the help of using:
and setting and explicit classpath dependency
Thanks anyway for the help and pointers, was useful to gather more debugging insights @IgnatBeresnev |
It's interesting that it helped because this configuration property is not used by Dokka at all, as far as I know 😅 But I'm glad you were able to resolve it |
Describe the bug
We are working on a Kotlin multiplatform project and been using Dokka for our documentation since the beginning, but now we are having issues as the project grew. Specifically, a
StackOverflowError
error leading to a failure.Expected behaviour
We can execute
dokkaHtmlMultimodule
without OOM exceptions.Screenshots
If applicable, add screenshots to help explain your problem
To Reproduce
You can have a look into our ghactions execution.
https://github.com/wireapp/kalium/actions/runs/4136039323/jobs/7149323719
Dokka configuration
Configuration of dokka used to reproduce the bug
You can have a look, as the project is opensource into: https://github.com/wireapp/kalium/blob/develop/buildSrc/src/main/kotlin/com/wire/kalium/plugins/CommonDokkaConfig.kt
Installation
Additional context
The specific target failing is always
:network:compileCommonMainKotlinMetadata
if I run locally 2 things can provide more info:java.lang.StackOverflowError
underneath.:network:dokkaHtmlPartial
the documentation succeeds.Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: