Skip to content

Instantly share code, notes, and snippets.

@spaceunifyfifty
Created March 3, 2024 15:43
Show Gist options
  • Save spaceunifyfifty/8be0df3d21c10a94a1a9abb3e23260fd to your computer and use it in GitHub Desktop.
Save spaceunifyfifty/8be0df3d21c10a94a1a9abb3e23260fd to your computer and use it in GitHub Desktop.
kotlin-codespaces-logs
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Mar 03, 2024 3:28:26 PM org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint lambda$recursiveFindRpcMethods$2
SEVERE: A delegate object is null, jsonrpc methods of 'public default org.eclipse.lsp4j.services.NotebookDocumentService org.eclipse.lsp4j.services.LanguageServer.getNotebookDocumentService()' are ignored
[Info - 3:28:26 PM] main Kotlin Language Server: Version 1.3.9
[Error - 3:28:26 PM] main A delegate object is null, jsonrpc methods of 'public default org.eclipse.lsp4j.services.NotebookDocumentService org.eclipse.lsp4j.services.LanguageServer.getNotebookDocumentService()' are ignored
[Info - 3:28:26 PM] main Connected to client
[Info - 3:28:27 PM] async0 Database has version 0 != 3 (the required version), therefore it will be rebuilt...
[Info - 3:28:27 PM] async0 Adding workspace folder testkotlin
[Info - 3:28:27 PM] async0 Searching /workspaces/testkotlin using exclusions: [.*, bazel-*, bin, build, node_modules, target, *.kts]
[Info - 3:28:27 PM] async0 Adding .../testkotlin/Main.kt under /workspaces/testkotlin to source path
[Info - 3:28:27 PM] async0 Updated exclusions: [.*, bazel-*, bin, build, node_modules, target, *.kts]
[Info - 3:28:27 PM] async0 Searching for dependencies and Java sources in workspace root /workspaces/testkotlin
Mar 03, 2024 3:28:27 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError
SEVERE: Internal error: java.lang.ExceptionInInitializerError
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
... 21 more
[Info - 3:28:27 PM] async0 Cached classpath is outdated or not found. Resolving again
[Error - 3:28:27 PM] async0 Internal error: java.lang.ExceptionInInitializerError
[Error - 3:28:27 PM] java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
[Error - 3:28:27 PM] at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[Error - 3:28:27 PM] at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[Error - 3:28:27 PM] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
[Error - 3:28:27 PM] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[Error - 3:28:27 PM] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[Error - 3:28:27 PM] at java.base/java.lang.Thread.run(Thread.java:1583)
[Error - 3:28:27 PM] Caused by: java.lang.ExceptionInInitializerError
[Error - 3:28:27 PM] at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
[Error - 3:28:27 PM] at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
[Error - 3:28:27 PM] at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
[Error - 3:28:27 PM] at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
[Error - 3:28:27 PM] at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
[Error - 3:28:27 PM] at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
[Error - 3:28:27 PM] at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
[Error - 3:28:27 PM] at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
[Error - 3:28:27 PM] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[Error - 3:28:27 PM] ... 3 more
[Error - 3:28:27 PM] Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
[Error - 3:28:27 PM] at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
[Error - 3:28:27 PM] ... 21 more
[Error - 3:28:27 PM] Server initialization failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
... 21 more
[Error - 3:28:27 PM] Kotlin Language Client client: couldn't create connection to server.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
... 21 more
[Error - 3:28:27 PM] Sending request kotlin/mainClass failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
... 21 more
[Error - 3:28:27 PM] Sending request kotlin/mainClass failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifactDirUsingMaven(BackupClassPathResolver.kt:88)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findLocalArtifact(BackupClassPathResolver.kt:25)
at org.javacs.kt.classpath.BackupClassPathResolverKt.findKotlinStdlib(BackupClassPathResolver.kt:21)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlib(WithStdlibResolver.kt:42)
at org.javacs.kt.classpath.WithStdlibResolverKt.wrapWithStdlibEntries(WithStdlibResolver.kt:17)
at org.javacs.kt.classpath.WithStdlibResolverKt.access$wrapWithStdlibEntries(WithStdlibResolver.kt:1)
at org.javacs.kt.classpath.WithStdlibResolver.getClasspath(WithStdlibResolver.kt:8)
at org.javacs.kt.classpath.FirstNonEmptyClassPathResolver.getClasspath(ClassPathResolver.kt:74)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspath(CachedClassPathResolver.kt:118)
at org.javacs.kt.classpath.ClassPathResolver$DefaultImpls.getClasspathOrEmpty(ClassPathResolver.kt:14)
at org.javacs.kt.classpath.CachedClassPathResolver.getClasspathOrEmpty(CachedClassPathResolver.kt:52)
at org.javacs.kt.CompilerClassPath.refresh(CompilerClassPath.kt:57)
at org.javacs.kt.CompilerClassPath.refresh$default(CompilerClassPath.kt:47)
at org.javacs.kt.CompilerClassPath.addWorkspaceRoot(CompilerClassPath.kt:120)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:129)
at org.javacs.kt.KotlinLanguageServer$initialize$1.invoke(KotlinLanguageServer.kt:74)
at org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
... 21 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment