typedb-osi / typeql-plugin-jetbrains

TypeQL plugin for JetBrains
MIT License
10 stars 6 forks source link

Test failed with an exception #10

Closed SullivanDaly closed 1 year ago

SullivanDaly commented 1 year ago

Running the test with ./gradlew test returns an Exception.

> Task :compileTestKotlin
w: Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath
w: /Users/sullivandaly/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2021.2.2/aa03fa700ac9c82d03acad5eadd5e547b5ccc008/ideaIC-2021.2.2/lib/kotlin-stdlib-jdk8.jar: Library has Kotlin runtime bundled into it

> Task :test FAILED

org.typedb.typeql.plugin.jetbrains.TypeQLParsingTest > initializationError FAILED
    java.lang.ExceptionInInitializerError at Unsafe.java:-2
        Caused by: java.lang.reflect.InaccessibleObjectException at AccessibleObject.java:387

1 test completed, 1 failed

FAILURE: Build failed with an exception.
BFergerson commented 1 year ago

Saw this before your PR so didn't realize we both made similar changes. Either way, fixed via https://github.com/typedb-osi/typeql-plugin-jetbrains/pull/13