JetBrains / kotlin-compiler-server

Server for executing kotlin code
Apache License 2.0
249 stars 73 forks source link

Indexation errors with AssertJ / bytebuddy #216

Closed leomillon closed 4 years ago

leomillon commented 4 years ago

Hi!

I forked the project (current commit is 0494d49a857eccd0bc000fef9420932e9efadb99) to add my own libraries into the kotlinDependency configuration and I got some troubles to run the indexation Gradle task.

It seems to be related to the ByteBuddy classes inside AssertJ Core jar.

I made some small modifications to the code in order to catch these errors without failing:

diff --git a/build.gradle.kts b/build.gradle.kts
index 5365ff2..f1ae12a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -10,7 +10,7 @@ version = "$kotlinVersion-SNAPSHOT"
 java.sourceCompatibility = JavaVersion.VERSION_1_8

 val kotlinDependency: Configuration by configurations.creating {
-    isTransitive = true
+    isTransitive = false
 }
 val kotlinJsDependency: Configuration by configurations.creating {
     isTransitive = false
@@ -62,10 +62,18 @@ dependencies {
     kotlinJsDependency("org.jetbrains.kotlin:kotlin-stdlib-js:$kotlinVersion")

     // JCV dependencies
-    kotlinDependency("org.skyscreamer:jsonassert:1.5.0")
-    kotlinDependency("org.assertj:assertj-core:3.11.1")
-    kotlinDependency("com.ekino.oss.jcv:jcv-assertj:1.4.2")
-    kotlinDependency("com.ekino.oss.jcv:jcv-hamcrest:1.4.2")
+    kotlinDependency("org.skyscreamer:jsonassert:1.5.0") {
+        isTransitive = true
+    }
+    kotlinDependency("org.assertj:assertj-core:3.11.1") {
+        isTransitive = true
+    }
+    kotlinDependency("com.ekino.oss.jcv:jcv-assertj:1.5.0") {
+        isTransitive = true
+    }
+    kotlinDependency("com.ekino.oss.jcv:jcv-hamcrest:1.5.0") {
+        isTransitive = true
+    }

     annotationProcessor("org.springframework:spring-context-indexer")
     implementation("org.springframework.boot:spring-boot-starter-web")
diff --git a/indexation/src/main/kotlin/Main.kt b/indexation/src/main/kotlin/Main.kt
index 35d4874..665af47 100644
--- a/indexation/src/main/kotlin/Main.kt
+++ b/indexation/src/main/kotlin/Main.kt
@@ -88,17 +88,23 @@ private fun getVariantsForZip(classLoader: URLClassLoader, file: File): List<Imp
   JarFile(file).entries().toList()
     .filter { !it.isDirectory && it.name.endsWith(CLASS_EXTENSION) }
     .flatMap {
-      val name = it.name.removeSuffix(CLASS_EXTENSION)
-      val fullName = name.replace(File.separator, ".")
-      if (fullName.split(".").last() == MODULE_INFO_NAME) return@flatMap emptyList<ImportInfo>()
-      val clazz = runCatching { classLoader.loadClass(fullName) }.getOrNull() ?: return@flatMap emptyList<ImportInfo>()
-      val classes = if (clazz.isKotlinClass()) {
-        allClassesFromKotlinClass(clazz)
-      } else {
-        allClassesFromJavaClass(clazz)
+      try {
+        val name = it.name.removeSuffix(CLASS_EXTENSION)
+        val fullName = name.replace(File.separator, ".")
+        if (fullName.split(".").last() == MODULE_INFO_NAME) return@flatMap emptyList<ImportInfo>()
+        val clazz = runCatching { classLoader.loadClass(fullName) }.getOrNull() ?: return@flatMap emptyList<ImportInfo>()
+        val classes = if (clazz.isKotlinClass()) {
+          allClassesFromKotlinClass(clazz)
+        } else {
+          allClassesFromJavaClass(clazz)
+        }
+        val functions = allFunctionsFromClass(clazz)
+        classes + functions
+      } catch (e: Error) {
+        System.err.println("An error occurred on ${it.name}, skipping...")
+        e.printStackTrace(System.err)
+        return@flatMap emptyList()
       }
-      val functions = allFunctionsFromClass(clazz)
-      classes + functions
     }.distinct()

 private fun allFunctionsFromClass(clazz: Class<*>): List<ImportInfo> =

Here is the given output:

> Task :indexation:run
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy$Disabled.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy$Unsafe.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Resolution$Sort.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Resolution disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Resolution.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Resolution disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Simple$Resolution.class, skipping...
java.lang.IncompatibleClassChangeError: org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Simple
        at java.lang.Class.getDeclaredClasses0(Native Method)
        at java.lang.Class.getDeclaredClasses(Class.java:1867)
        at java.lang.Class$2.run(Class.java:1504)
        at java.lang.Class$2.run(Class.java:1499)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.lang.Class.getClasses(Class.java:1498)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:35)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Transformer$NoOp.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Transformer and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Transformer$NoOp disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$InvocationType.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$InvocationType disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$NoOp.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$NoOp disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver$Stubbing.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver$Unresolved.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/description/annotation/AnnotationValue$Loaded$State.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.description.annotation.AnnotationValue$Loaded and org.assertj.core.internal.bytebuddy.description.annotation.AnnotationValue$Loaded$State disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/implementation/FieldAccessor$ForParameterSetter$TerminationHandler.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.implementation.FieldAccessor and org.assertj.core.internal.bytebuddy.implementation.FieldAccessor$ForParameterSetter disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/implementation/FieldAccessor$ForParameterSetter.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.implementation.FieldAccessor and org.assertj.core.internal.bytebuddy.implementation.FieldAccessor$ForParameterSetter disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/pool/TypePool$AbstractBase$RawDescriptionArray.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.pool.TypePool$AbstractBase and org.assertj.core.internal.bytebuddy.pool.TypePool$AbstractBase$RawDescriptionArray disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy$Disabled.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy$Unsafe.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$BootstrapInjectionStrategy.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$BootstrapInjectionStrategy disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Resolution$Sort.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Resolution disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Resolution.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Resolution disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Simple$Resolution.class, skipping...
java.lang.IncompatibleClassChangeError: org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Default$Transformation$Simple
        at java.lang.Class.getDeclaredClasses0(Native Method)
        at java.lang.Class.getDeclaredClasses(Class.java:1867)
        at java.lang.Class$2.run(Class.java:1504)
        at java.lang.Class$2.run(Class.java:1499)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.lang.Class.getClasses(Class.java:1498)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:35)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/agent/builder/AgentBuilder$Transformer$NoOp.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Transformer and org.assertj.core.internal.bytebuddy.agent.builder.AgentBuilder$Transformer$NoOp disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher$Disabled.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter and org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher$ForType.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter and org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher$ForValue.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter and org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter and org.assertj.core.internal.bytebuddy.asm.Advice$Dispatcher$Resolved$ForMethodEnter$SkipDispatcher disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$OffsetMapping$Context$ForMethodEntry.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping and org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping$Context disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$OffsetMapping$Context$ForMethodExit.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping and org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping$Context disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/Advice$OffsetMapping$Context.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping and org.assertj.core.internal.bytebuddy.asm.Advice$OffsetMapping$Context disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$InvocationType.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$InvocationType disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$NoOp.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$NoOp disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver$Stubbing.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver$Unresolved.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/asm/MemberSubstitution$Substitution$Resolver.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution and org.assertj.core.internal.bytebuddy.asm.MemberSubstitution$Substitution$Resolver disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/description/annotation/AnnotationValue$Loaded$State.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.description.annotation.AnnotationValue$Loaded and org.assertj.core.internal.bytebuddy.description.annotation.AnnotationValue$Loaded$State disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/dynamic/loading/ClassInjector$UsingReflection$Dispatcher$Indirect.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher and org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Indirect disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/dynamic/scaffold/TypeWriter$Default$ForInlining$InitializationHandler$Appending$FrameWriter$Expanding.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining and org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$InitializationHandler disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/dynamic/scaffold/TypeWriter$Default$ForInlining$InitializationHandler$Appending$FrameWriter$NoOp.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining and org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$InitializationHandler disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/dynamic/scaffold/TypeWriter$Default$ForInlining$InitializationHandler$Appending$FrameWriter.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining and org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$InitializationHandler disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/dynamic/scaffold/TypeWriter$Default$ForInlining$InitializationHandler.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining and org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$InitializationHandler disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/implementation/FieldAccessor$ForParameterSetter$TerminationHandler.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.implementation.FieldAccessor and org.assertj.core.internal.bytebuddy.implementation.FieldAccessor$ForParameterSetter disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:32)
        at indexation.DisplayingTypesKt.javaTypeToKotlin(DisplayingTypes.kt:29)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:143)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/implementation/FieldAccessor$ForParameterSetter.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.implementation.FieldAccessor and org.assertj.core.internal.bytebuddy.implementation.FieldAccessor$ForParameterSetter disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getSimpleBinaryName(Class.java:1443)
        at java.lang.Class.getSimpleName(Class.java:1309)
        at indexation.MainKt.importInfoFromJavaMethod(Main.kt:138)
        at indexation.MainKt.importInfoFromFunction(Main.kt:130)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:112)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
An error occurred on org/assertj/core/internal/bytebuddy/jar/asm/commons/JSRInlinerAdapter$Instantiation.class, skipping...
java.lang.NoClassDefFoundError: org/assertj/core/internal/bytebuddy/jar/asm/tree/AbstractInsnNode
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetPublicMethods(Class.java:2902)
        at java.lang.Class.getMethods(Class.java:1615)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:111)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
Caused by: java.lang.ClassNotFoundException: org.assertj.core.internal.bytebuddy.jar.asm.tree.AbstractInsnNode
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:817)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 9 more
An error occurred on org/assertj/core/internal/bytebuddy/jar/asm/commons/TryCatchBlockSorter$1.class, skipping...
java.lang.NoClassDefFoundError: org/assertj/core/internal/bytebuddy/jar/asm/tree/AbstractInsnNode
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetPublicMethods(Class.java:2902)
        at java.lang.Class.getMethods(Class.java:1615)
        at indexation.MainKt.allFunctionsFromClass(Main.kt:111)
        at indexation.MainKt.getVariantsForZip(Main.kt:101)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)
Caused by: java.lang.ClassNotFoundException: org.assertj.core.internal.bytebuddy.jar.asm.tree.AbstractInsnNode
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:817)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 9 more
An error occurred on org/assertj/core/internal/bytebuddy/pool/TypePool$AbstractBase$RawDescriptionArray.class, skipping...
java.lang.IncompatibleClassChangeError: org.assertj.core.internal.bytebuddy.pool.TypePool$AbstractBase and org.assertj.core.internal.bytebuddy.pool.TypePool$AbstractBase$RawDescriptionArray disagree on InnerClasses attribute
        at java.lang.Class.getDeclaringClass0(Native Method)
        at java.lang.Class.getDeclaringClass(Class.java:1235)
        at java.lang.Class.getEnclosingClass(Class.java:1277)
        at java.lang.Class.getCanonicalName(Class.java:1392)
        at java.lang.Class.getCanonicalName(Class.java:1396)
        at indexation.MainKt.allClassesFromJavaClass(Main.kt:36)
        at indexation.MainKt.getVariantsForZip(Main.kt:99)
        at indexation.MainKt.getAllVariants(Main.kt:169)
        at indexation.MainKt.createJsonWithIndexes(Main.kt:175)
        at indexation.MainKt.main(Main.kt:22)

Is there any way to handle unexpected errors without falling the build?

Thanks a lot for this great project!

AlexanderPrendota commented 4 years ago

Hey, thanks for the issues. If u don't need the indexation for auto-import on the kotlin-playground just ignore that step. @PolinB will take care of the issues. Thanks!