Skip to content

Kotlin lsp crashing with Android 10 #2322

Backlog

Description

@Wadamzmail
26-11 10:28:15.17 ERROR [DefaultDispatcher-worker-8] CompilerSession: Kotlin project update failed
java.lang.NoSuchMethodError: No static method of(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path; in class Ljava/nio/file/Path; or its super classes (declaration of 'java.nio.file.Path' appears in /apex/com.android.runtime/javalib/core-oj.jar)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.vfs.ListingJarFileSystem.findFileByPath(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:31)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModuleKt.getVirtualFileForLibraryRoot$lambda$0(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:22)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModuleKt.$r8$lambda$j3MQAqRDDvqP-OjgLcmsKtrprUU(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModuleKt$$ExternalSyntheticLambda0.invoke(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:5)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.ReadWriteLockKt.read(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:29)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModuleKt.getVirtualFileForLibraryRoot(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:86)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModuleKt.access$getVirtualFileForLibraryRoot(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModule.computeFiles$lambda$1(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:12)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModule.$r8$lambda$anZBKvccl7drh_gd05XTArkF4cw(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.modules.KtLibraryModule$$ExternalSyntheticLambda1.invoke(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:5)
	at kotlin.sequences.TransformingSequence$iterator$1.next(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:11)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:11)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:6)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:3)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:45)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:12)
	at kotlin.sequences.SequencesKt___SequencesKt.toList(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:10)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.AbstractCompilationEnvironment.initialize(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:214)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.CompilationEnvironment.<init>(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:20)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.CompilationEnvironment.<init>(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:9)
	at dev.mutwakil.androidide.lsp.kotlin.compiler.Compiler.<init>(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:5)
	at dev.mutwakil.androidide.lsp.kotlin.KotlinLanguageServer$ProjectCompilerLifecycle.build(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:13)
	at dev.mutwakil.androidide.lsp.kotlin.KotlinLanguageServer$ProjectCompilerLifecycle.build(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at dev.mutwakil.androidide.lsp.kotlin.CompilerSession.update(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:95)
	at dev.mutwakil.androidide.lsp.kotlin.CompilerSession.access$update(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at dev.mutwakil.androidide.lsp.kotlin.CompilerSession$worker$1.invokeSuspend(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:67)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:9)
	at kotlinx.coroutines.DispatchedTask.run(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:109)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:4)
	at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:34)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:29)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-b970e38cff7a447f25f3df7f7d2000f70025e36c32a51671313c11314cf80b4c:1)

Activity

  1. github-actions commented on Nov 26, 2026

    @github-actions
    Contributor

    Tracked in Jira: ADFA-7321

  2. coderabbitai commented on Nov 26, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #2231 - ADFA-6854: Lazy Kotlin VFS over JarListing [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. Ben-ADFA commented on Nov 27, 2026

    @Ben-ADFA
    Collaborator

    @Wadamzmail

    Thanks for reporting. Can you please let us know your device model and which CoGo release you're on?

  4. added
    bug
    on Nov 27, 2026
  5. Wadamzmail commented on Nov 27, 2026

    @Wadamzmail
    ContributorAuthor

    @Wadamzmail

    Thanks for reporting. Can you please let us know your device model and which CoGo release you're on?

    @Ben-ADFA The issue info is on the PR

  6. shebadentalh-dotcom commented on Nov 28, 2026

    @shebadentalh-dotcom

    সেবা ডেন্টাল হোম কেয়ার

  7. shebadentalh-dotcom commented on Nov 29, 2026

    @shebadentalh-dotcom

    Sheba Dental Home Care

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions