Zac Sweers
09/19/2023, 4:31 PMExecution failed for task ':libraries:model:dokkaHtmlPartial'.
> Equal objects must have equal hashcodes. During rehashing, Trove discovered that the following two objects claim to be equal (as in java.lang.Object.equals() or TObjectHashingStrategy.equals()) but their hashCodes (or those calculated by your TObjectHashingStrategy) are not equal.This violates the general contract of java.lang.Object.hashCode(). See bullet point two in that method's documentation. object #1 =slack.featureflag.legacy (class org.jetbrains.kotlin.name.FqName), hashCode=-2006810893; object #2 =slack.featureflag.legacy (class org.jetbrains.kotlin.name.FqName), hashCode=-2006810893
In this case, I found a java file javadoc that appeared to refer to a now-nonexistent enum member in that package and removing that resolved it. After that though, I encountered a similar but different error on java.util.String
Execution failed for task ':services:mock-testing:dokkaHtmlPartial'.
> Equal objects must have equal hashcodes. During rehashing, Trove discovered that the following two objects claim to be equal (as in java.lang.Object.equals() or TObjectHashingStrategy.equals()) but their hashCodes (or those calculated by your TObjectHashingStrategy) are not equal.This violates the general contract of java.lang.Object.hashCode(). See bullet point two in that method's documentation. object #1 = (class java.lang.String), hashCode=0; object #2 = (class java.lang.String), hashCode=0
And don't see any similar or blatantly obvious issues with the java source files in the project 🤔Vadim Mishenev
09/19/2023, 5:04 PMZac Sweers
09/19/2023, 5:05 PMVadim Mishenev
09/19/2023, 5:06 PMZac Sweers
09/19/2023, 5:07 PMAndrea Falcone
09/19/2023, 5:57 PMZac Sweers
09/19/2023, 6:15 PMVadim Mishenev
09/19/2023, 6:28 PMso fun update - different error on 1.8.20 🙂This is a completely different issue. So I can give you a development build of Dokka 1.9.10 with the fixed concurrency issue. The needed version is
1.9.10-dev-234
(changes)
But you need to add the repository maven.pkg.jetbrains.space/kotlin/p/dokka/devZac Sweers
09/19/2023, 7:15 PM